node-sass no such file or directory
se77en opened this issue · comments
when I execute npm start
, it shows this:
ERROR in ENOENT: no such file or directory,
scandir '/Users/AriesDevil/Documents/workspace/elm_workspace/girion/node_modules/node-sass/vendor'
I had this error too and found others encountering it here: dvdzkwsk/react-redux-starter-kit#791
I haven't investigated enough to know the root cause, but based on that thread I deleted my node-sass folder and manually reinstalled it (npm install --save-dev node-sass
). That seemed to fix the issue for the moment (possibly because that bumped me up to node-sass 3.8.0 from 3.7.0)
I can fix it after rebuild the node-sass using this command:
npm rebuild node-sass
This command will build the vendor folder.
FYI: I'm using node-sass version 3.8.0
Eh... not really sure this issue should be closed. We've got a workaround but I assume it's still a problem
Maybe @moarwick can weigh in
I'm not great with npm but if I get a chance in the next few days I can dig in a little and try to confirm it's just an issue with that version of node-sass. Hopefully I can submit a PR
ok, had a look.. i think we can close the issue. i pushed a minor update (a few updated packages) but most likely you had a node version mismatch. whenever you run into any such issues, reinstall all dependencies afresh:
rm -rf node_modules
npm i
hope it helps!