help icon indicating copy to clipboard operation
help copied to clipboard

Can't run repository on node 16

Open jeremylumanbailey opened this issue 4 years ago • 2 comments

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.

jeremylumanbailey avatar Dec 10 '21 00:12 jeremylumanbailey

Thanks for the heads up @jeremylumanbailey!

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

fschillingeriv avatar Dec 16 '21 14:12 fschillingeriv

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.

jeremylumanbailey avatar Dec 16 '21 16:12 jeremylumanbailey