{"action":"created","issue":{"url":"https://api.github.com/repos/sass/dart-sass/issues/18","repository_url":"https://api.github.com/repos/sass/dart-sass","labels_url":"https://api.github.com/repos/sass/dart-sass/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/sass/dart-sass/issues/18/comments","events_url":"https://api.github.com/repos/sass/dart-sass/issues/18/events","html_url":"https://github.com/sass/dart-sass/issues/18","id":186595017,"number":18,"title":"Unexpected exception:RangeError (index): Index out of range: index should be less than 1: 1","user":{"login":"FDiskas","id":468006,"avatar_url":"https://avatars.githubusercontent.com/u/468006?v=3","gravatar_id":"","url":"https://api.github.com/users/FDiskas","html_url":"https://github.com/FDiskas","followers_url":"https://api.github.com/users/FDiskas/followers","following_url":"https://api.github.com/users/FDiskas/following{/other_user}","gists_url":"https://api.github.com/users/FDiskas/gists{/gist_id}","starred_url":"https://api.github.com/users/FDiskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FDiskas/subscriptions","organizations_url":"https://api.github.com/users/FDiskas/orgs","repos_url":"https://api.github.com/users/FDiskas/repos","events_url":"https://api.github.com/users/FDiskas/events{/privacy}","received_events_url":"https://api.github.com/users/FDiskas/received_events","type":"User","site_admin":false},"labels":[{"id":472593727,"url":"https://api.github.com/repos/sass/dart-sass/labels/bug","name":"bug","color":"ee0701","default":true},{"id":473206251,"url":"https://api.github.com/repos/sass/dart-sass/labels/needs%20info","name":"needs info","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-01T17:30:03Z","updated_at":"2016-11-01T17:53:02Z","closed_at":null,"body":"Im using: `1.0.0-alpha.1 compiled with dart2js 1.20.1`\r\nI got the following error:\r\n```bash\r\nUnexpected exception:RangeError (index): Index out of range: index should be less than 1: 1\r\nnode_modules/dart-sass/sass.dart.js 4154:17   wrapException\r\nnode_modules/dart-sass/sass.dart.js 4104:15   ioore\r\nnode_modules/dart-sass/sass.dart.js 17688:22  Environment.getFunction$1\r\nnode_modules/dart-sass/sass.dart.js 27465:66  _PerformVisitor.visitFunctionExpression$1\r\nnode_modules/dart-sass/sass.dart.js 16014:24  FunctionExpression.accept$1\r\nnode_modules/dart-sass/sass.dart.js 27370:75  _PerformVisitor.visitVariableDeclaration$1\r\nnode_modules/dart-sass/sass.dart.js 16637:24  VariableDeclaration.accept$1\r\nnode_modules/dart-sass/sass.dart.js 31349:41  J.accept$1$x\r\nnode_modules/dart-sass/sass.dart.js 28126:13  _PerformVisitor__visitDynamicImport__closure.call$0\r\nnode_modules/dart-sass/sass.dart.js 27703:27  _PerformVisitor._withEnvironment$2\r\n```\r\n\r\nMy environment is:\r\n**package.json**\r\n```json\r\n{\r\n  \"name\": \"untitled\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"index.js\",\r\n  \"scripts\": {\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n    \"dev\": \"dart-sass ./src/main.scss dist/main.css  > ./dist/main.css\"\r\n  },\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"dependencies\": {\r\n    \"bootstrap-sass\": \"^3.3.7\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"dart-sass\": \"^1.0.0-alpha.1\"\r\n  }\r\n}\r\n```\r\n**src/main.scss**\r\n```scss\r\n@import \"../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap\";\r\n```"},"comment":{"url":"https://api.github.com/repos/sass/dart-sass/issues/comments/257639869","html_url":"https://github.com/sass/dart-sass/issues/18#issuecomment-257639869","issue_url":"https://api.github.com/repos/sass/dart-sass/issues/18","id":257639869,"user":{"login":"FDiskas","id":468006,"avatar_url":"https://avatars.githubusercontent.com/u/468006?v=3","gravatar_id":"","url":"https://api.github.com/users/FDiskas","html_url":"https://github.com/FDiskas","followers_url":"https://api.github.com/users/FDiskas/followers","following_url":"https://api.github.com/users/FDiskas/following{/other_user}","gists_url":"https://api.github.com/users/FDiskas/gists{/gist_id}","starred_url":"https://api.github.com/users/FDiskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FDiskas/subscriptions","organizations_url":"https://api.github.com/users/FDiskas/orgs","repos_url":"https://api.github.com/users/FDiskas/repos","events_url":"https://api.github.com/users/FDiskas/events{/privacy}","received_events_url":"https://api.github.com/users/FDiskas/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T17:53:02Z","updated_at":"2016-11-01T17:53:02Z","body":"`npm install gnomon`\r\n\r\np.s. about benchmark. dart-sass with error returns the following\r\n```\r\nnpm run dev | gnomon\r\n```\r\nreturns Total   0.0117s\r\n\r\nAnd the node-sass - with successfully builded whole bootstrap\r\nreturns: Total   0.0132s"}}
{"actor":{"display_login":"FDiskas"}}