{"action":"created","issue":{"url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/161","repository_url":"https://api.github.com/repos/modularscale/modularscale-sass","labels_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/161/comments","events_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/161/events","html_url":"https://github.com/modularscale/modularscale-sass/issues/161","id":376660228,"node_id":"MDU6SXNzdWUzNzY2NjAyMjg=","number":161,"title":"SyntaxError on @import","user":{"login":"haydenhancock","id":625838,"node_id":"MDQ6VXNlcjYyNTgzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/625838?v=4","gravatar_id":"","url":"https://api.github.com/users/haydenhancock","html_url":"https://github.com/haydenhancock","followers_url":"https://api.github.com/users/haydenhancock/followers","following_url":"https://api.github.com/users/haydenhancock/following{/other_user}","gists_url":"https://api.github.com/users/haydenhancock/gists{/gist_id}","starred_url":"https://api.github.com/users/haydenhancock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haydenhancock/subscriptions","organizations_url":"https://api.github.com/users/haydenhancock/orgs","repos_url":"https://api.github.com/users/haydenhancock/repos","events_url":"https://api.github.com/users/haydenhancock/events{/privacy}","received_events_url":"https://api.github.com/users/haydenhancock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-02T03:52:56Z","updated_at":"2018-11-06T00:10:38Z","closed_at":null,"author_association":"NONE","body":"When trying to use the modularscale-sass npm package I receive the following error on a basic Gulp task.\r\n\r\n```\r\n[23:37:11] Starting 'sass'...\r\n[23:37:11] 'sass' errored after 12 ms\r\n[23:37:11] C:\\repos\\foo2\\node_modules\\modularscale-sass\\stylesheets\\_modularscale.scss:2\r\n@import 'modularscale/vars';\r\n^\r\n\r\nSyntaxError: Invalid or unexpected token\r\n    at new Script (vm.js:74:7)\r\n    at createScript (vm.js:246:10)\r\n    at Object.runInThisContext (vm.js:298:10)\r\n    at Module._compile (internal/modules/cjs/loader.js:657:28)\r\n    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)\r\n    at Module.load (internal/modules/cjs/loader.js:599:32)\r\n    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)\r\n    at Function.Module._load (internal/modules/cjs/loader.js:530:3)\r\n    at Module.require (internal/modules/cjs/loader.js:637:17)\r\n    at require (internal/modules/cjs/helpers.js:20:18)\r\n```\r\nMy gulpfile.js is\r\n\r\n```\r\nvar gulp = require('gulp');\r\nvar sass = require('gulp-sass');\r\n\r\ngulp.task('sass', function () {\r\n    return gulp.src('./scss/**/*.scss')\r\n        .pipe(sass({\r\n            includePaths: require('modularscale-sass').includePaths\r\n        }).on('error', sass.logError))\r\n        .pipe(gulp.dest('./css'));\r\n});\r\n```\r\n\r\nMy styles.scss is\r\n\r\n```\r\n@import '../node_modules/modularscale-sass/stylesheets/modularscale';\r\n\r\n$modularscale: (\r\n    base: 1em,\r\n    ratio: 1.5\r\n);\r\n\r\nh4 {\r\n    font-size: ms(3);\r\n}\r\n```\r\n\r\nI've also tried ```@import 'modularscale';``` as discussed in the documentation.\r\n\r\nMy package.json\r\n\r\n```\r\n{\r\n  \"name\": \"foo2\",\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  },\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"devDependencies\": {\r\n    \"gulp\": \"^3.9.1\",\r\n    \"gulp-sass\": \"^4.0.2\",\r\n    \"modularscale-sass\": \"^3.0.8\",\r\n    \"node-sass\": \"^4.9.4\"\r\n  }\r\n}\r\n```\r\nI was able to get this to work using the 'Vanilla' install but I'd like to use the package. Has anyone else experienced this issue? Am I doing something wrong?"},"comment":{"url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/comments/436083675","html_url":"https://github.com/modularscale/modularscale-sass/issues/161#issuecomment-436083675","issue_url":"https://api.github.com/repos/modularscale/modularscale-sass/issues/161","id":436083675,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjA4MzY3NQ==","user":{"login":"scottkellum","id":377189,"node_id":"MDQ6VXNlcjM3NzE4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/377189?v=4","gravatar_id":"","url":"https://api.github.com/users/scottkellum","html_url":"https://github.com/scottkellum","followers_url":"https://api.github.com/users/scottkellum/followers","following_url":"https://api.github.com/users/scottkellum/following{/other_user}","gists_url":"https://api.github.com/users/scottkellum/gists{/gist_id}","starred_url":"https://api.github.com/users/scottkellum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottkellum/subscriptions","organizations_url":"https://api.github.com/users/scottkellum/orgs","repos_url":"https://api.github.com/users/scottkellum/repos","events_url":"https://api.github.com/users/scottkellum/events{/privacy}","received_events_url":"https://api.github.com/users/scottkellum/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T00:10:38Z","updated_at":"2018-11-06T00:10:38Z","author_association":"MEMBER","body":"Interesting, thanks! I’ll investigate in a bit"}}
{"actor":{"display_login":"scottkellum"}}