-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ENOENT and can't find module on 4.0.0 while running gulp serve #2130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
can you confirm whether or not $ npm list --depth=0 | grep node-sass |
@Awk34 I ran the command that you suggested but it returned nothing, after that I ran
To make sure I had node-sass installed, and ran again your command and it returned nothing. I tried to
|
How about just this: $ npm list --depth=0 from the root directory of your scaffolded project |
I think this is a bug. sass-loader instructs you to install node-sass alongside it. So to fix this for now, do $ npm install --save-dev node-sass |
@Awk34 the command
After I ran It seems to be a bug then. |
I got this error. The fix mentioned in comments worked for me. This issue is closed which seems wrong. |
I've just updated to the new version 4.0.0 and after I create a new project and try to run it I get the following errors (aside a bunch of ESLint warnings and errors):
Error: ENOENT: no such file or directory, stat '/Users/eduardoroth/.../client/index.html'
ERROR in Cannot find module 'node-sass'
@ ./client/app/app.scss 4:14-120
This happens also with LESS (cannot find module less).
I'm not sure if something is wrong with my system, but I've just updated the generator created a new project and tried to run it.
The text was updated successfully, but these errors were encountered: