-
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 1.7.4 does not support NodeJS 10 #10527
Comments
Found a similar problem when I was following the During the update checklist generated by the Angular Update Guide for upgrading from Angular 5.2 to Angular 6.0. This problem occurred for me when trying to use the My VersionsNode 10.0.0 Temporary Workaround
Explanation of the Workaround
|
@akaustav I tried following your suggestion for the temporary workaround but it caused a huge issue with my Do you know how I can revert the config changes you suggested? After trying
and
Any ideas? |
Hi @SimonKomlos Reason: I don't see backslashes on your output.
I expected to see something like this:
I can paste the precise output lines which I receive in my PC when I am in front of my PC. |
@akaustav thanks for replying. My
It does look like it missed the I appreciate you replying :) |
@akaustav so I changed the directory for as you suggested, and I still seem to have issues:
and
Any ideas? |
Hi @SimonKomlos, I am not sure node-sass is necessary to be installed at the root of your project - not even as a dev dependency. It's a sub-dependency of Perhaps your global After that, ensure your current |
Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version. If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. |
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. |
Versions
Node 10.0.0
NPM 6.0.0
Windows 10
Repro steps
Install the latest NodeJS 10, the latest NPM 6 with Angular 1.7.4
Observed behavior
When trying to run ng serve on an angular 1.7.4 project it fails because
Angular 1.7.4 uses node-sass 4.8.3
Node-sass 4.8.3 only supports up to NodeJS 9
See:
https://github.com/sass/node-sass/releases/tag/v4.8.3
Desired behavior
Update Angular 1.7.4 to support NodeJS by upgrading node-sass to v4.9.0
Node-sass 4.9.0 supports up to NodeJS 10.
See:
https://github.com/sass/node-sass/releases/tag/v4.9.0
The text was updated successfully, but these errors were encountered: