-
Notifications
You must be signed in to change notification settings - Fork 241
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
Update Node to Active LTS version v16 (Gallium) #2110
Conversation
✅ You can preview this change here:
To edit notification comments on pull requests, go to your Netlify site settings. |
Unfortunately updating to Node 16.x seems to prevent building on Apple Silicon Macs, with node-sass complaining that it doesn't have a version compatible with that version/architecture combination. That tracks, as node-sass doesn't have any arm64 architecture support, and would normally run under Rosetta. Weirdly, it doesn't complain under Node 14.x, despite node-sass also not having a Node 14/arm64 version.
I also get this (similarly nonsensical) warning running
This occur regardless of what terminal application or shell I use, so it doesn't appear to be influenced by one or more reporting incorrect environment information. |
|
I got this working locally by running:
It might be worth deleting the But I'm also getting the |
Unfortunately still not working for me after trying the uninstall/clean/install commands, same error as before. |
@querkmachine and I managed to get this working by following my updated comment above. |
Node.js v14 has been in maintenance mode from 19 October 2021. v16 is the active LTS version. This in turns updates NPM to v8, meaning our lockfile has change to [`lockfileVersion` 2](https://docs.npmjs.com/cli/v8/configuring-npm/package-lock-json#lockfileversion) This is an internal change that affects development, testing and deployment.
If a user has previously installed locally using Node 14 and lower on their M1 machine, they will encounter `node-sass` errors when running `npm install` after pulling this commit. This adds documentation to deal with those errors. This should only affect developers.
5dce52c
to
c30b9db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢 🚀 🎉
Node.js v14 has been in maintenance mode from 19 October 2021. v16 is the active LTS version.
This in turns updates NPM to v8, meaning our lockfile has change to
lockfileVersion
2This is an internal change that affects development, testing and deployment.
Closes #2021