Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Can't run repository on node 16 #820

Open
jeremylumanbailey opened this issue Dec 10, 2021 · 2 comments
Open

Can't run repository on node 16 #820

jeremylumanbailey opened this issue Dec 10, 2021 · 2 comments

Comments

@jeremylumanbailey
Copy link

I get this error when trying to run npm install for the repository npm ERR! gyp ERR! cwd /Users/jeremy/git-repos/help/node_modules/node-sass

It appears that node-sass is deprecated and will cause this issue for any node versions above 14:
https://stackoverflow.com/questions/67361504/npm-install-not-working-for-node-v-16-0-0
Swapping my computer to run the older version of node 14 fixes this issue

the README.md should be updated to indicate that it requires node 14 for the time being.

@fschillingeriv
Copy link
Contributor

Thanks for the heads up @jeremylumanbailey!

@DanHillesheim is this something we can fix instead of document?

@jeremylumanbailey
Copy link
Author

It looks like latest version of gulp-sass uses node-sass version 6,
https://github.com/dlmanning/gulp-sass/blob/master/package.json

And looking at the node-sass npm page it looks like version 6 of node-sass will work on node 16.

So might be as simple a fix as updating the gulp-sass version?

Assuming that does not cause breaking changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants