-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Angular CLI: 7.0.3 Cannot find module 'node-sass' #12746
Comments
Which package manager are you using? This might be because Kindly check the console output when doing the installation, you should be getting something along |
@alan-agius4 I see now it is a problem of
|
@Toso82 upstream issue sass/node-sass#2521, I will keep it open so that once resolved we update our dependency, |
I had the same problem.
This worked for me. |
I've run
Can you help in another way? |
@alaminfirdows : The easiest solution is probably just downgrading to node 10 ( If you insist on using node 11, you can try your luck with rebuilding node sass, after your install ( |
The CLI also supports dart-sass as an alternative to node-sass. If installed via npm/yarn within the project, the CLI will use it instead of node-sass. dart-sass is a pure JavaScript version of the sass/scss preprocessor. |
@akehir Thanks for your solution, I uninstall node |
They released version 4.10.0 of node-sass, so you can run |
Closing as resolved. |
Superb! bro @Kenya-West |
This worked for me |
Also, try running |
Worked for me! Thanks! |
Running |
Running |
Thank you @mumakau. "npm install --save-dev --unsafe-perm node-sass" solved my issue. |
Hi, I had the same problem. |
Give read and write permissions to your main project directory and its enclosing items. Then do an npm install. It worked for me. |
They released version 4.10.0 of node-sass, so you can run npm install node-sass@4.10.0 --save and enjoy life with Node v11 , "@angular-devkit/build-angular": "latest version", Thank you |
npm install node-sass https://stackoverflow.com/questions/48147896/error-in-cannot-find-module-node-sass |
downgrading to node 10 helped me to resolve this issue. Thanks a lot :) |
My problem is solved with npm install --save-dev node-sass |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
The log given by the failure
Desired functionality
Compile well
Mention any other details that might be useful
After update NodeJs and latest Angular CLI compile stop to work. I try also to delete all node_module folder and install again the package without solve.
The text was updated successfully, but these errors were encountered: