Gulp Sass Error with Yarn
See original GitHub issueAfter running yarn
, i’m having this issue with a dependency, node-sass.
Error: ENOENT: no such file or directory, scandir '/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/vendor'
at Object.fs.readdirSync (fs.js:862:18)
at Object.getInstalledBinaries (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/lib/extensions.js:121:13)
at foundBinariesList (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/lib/errors.js:45:5)
at module.exports (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/lib/binding.js:15:30)
at Object.<anonymous> (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Function.Module._load (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/gulp-hub/lib/load-subfile.js:26:32)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/manuelmadeira/Documents/cashyt/cashyt-dashboard/node_modules/gulp-sass/index.js:187:21)
They fixed the issue on a new version.
Can you help, please?
Thanks, Manuel
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
gulp-sass | Yarn - Package Manager
gulp -sass can be used in tandem with gulp-sourcemaps to generate source maps for the Sass-to-CSS compilation. You will need to initialize gulp-sourcemaps ......
Read more >error compiling node-sass on yarn install - Stack Overflow
As suggested on installation guide I'm launching yarn install to compile assets and I'm stopped while Building fresh packages (node-sass ...
Read more >How to fix error "cannot find module gulp-sass" in Gulp
This error message means that Gulp is trying to run a function from the gulp-sass package, but it can't locate it. If you're...
Read more >gulp-sass-error - npm
Throw error when gulp-sass fails. Useful for build tools. Latest version: 1.0.5, last published: 5 years ago. Start using gulp-sass-error in ...
Read more >Install Error node-sass - Sylius Forum
Updating to gulp-sass 5.1 fixes the build error but now the yarn run gulp step won't work. Gulp-sass 5 requires explicit setting of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try
Maybe this is an issue because we do
npm install --save-dev gulp-sass
instead of normalnpm install --save gulp-sass
? Maybe it is just not running the install script?