hexo-renderer-scss icon indicating copy to clipboard operation
hexo-renderer-scss copied to clipboard

Add support for Node 16

Open bennycode opened this issue 4 years ago • 2 comments

The "hexo-renderer-scss" package uses an old version of "node-sass" which is based on the very old "node-gyp" v3.8.0.

Node-gyp v3.8.0 uses Python 2 which reached end of life and the old "node-sass" does not support Node v16.

Please update "node-sass" to v6 in order to support Node v16 and a more recent version of node-gyp which works with Python 3.

References:

  • https://github.com/sass/node-sass/releases/tag/v6.0.0 (Node 16 support in node-sass v6)
  • https://www.npmjs.com/package/node-gyp/v/8.0.0 (Python 3 support in node-gyp v8)

bennycode avatar May 21 '21 15:05 bennycode

Same issue here

szhshp avatar Aug 14 '21 14:08 szhshp

I hit this problem as well. I managed to work around this issue by updating the node-sass version in package.json.

albertnetymk avatar Dec 11 '21 21:12 albertnetymk