-
Notifications
You must be signed in to change notification settings - Fork 513
Open
Description
I am trying to run sass-lint through gulp-sass using eslint 6.0.1, but I get the following error message:
Error: Cannot find module 'eslint/lib/formatters/stylish'
Require stack:
- node_modules/sass-lint/index.js
- node_modules/gulp-sass-lint/index.js
- node_modules/gulp-load-plugins/index.js
- gulpfile.js
- /usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js
- /usr/local/lib/node_modules/gulp/node_modules/gulp-cli/index.js
- /usr/local/lib/node_modules/gulp/bin/gulp.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Function.sassLint.format (node_modules/sass-lint/index.js:257:19)
at Function.sassLint.outputResults (node_modules/sass-lint/index.js:276:26)
at DestroyableTransform._transform (node_modules/gulp-sass-lint/index.js:77:12)
at DestroyableTransform.Transform._read (node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (node_modules/readable-stream/lib/_stream_transform.js:172:83)
at doWrite (node_modules/readable-stream/lib/_stream_writable.js:428:64)I can run eslint through gulp-eslint without hitting this error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels