I'm using macOS Catalina 10.15.3.
I'm generating thumbnail images with this Jekyll theme, and when I enter gulp img
, that error occurs.
Requiring external module babel-register
~/node_modules/node-sass/lib/binding.js:13
throw new Error(errors.unsupportedEnvironment());
^
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (72)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.7.1
at module.exports (~/node_modules/node-sass/lib/binding.js:13:13)
at Object.<anonymous> (~/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Object.require.extensions.<computed> [as .js] (~/node_modules/babel-register/lib/node.js:152:7)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Module.require (internal/modules/cjs/loader.js:1043:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (~/node_modules/gulp-sass/index.js:187:21)
I tried everything, like npm install
, npm uninstall
, npm rebuild node-sass
, and so on, but I don't know why the error appears.
node --version
- it looks like you're running an outdated version of Node Sass... The error message you are getting points to a link forv4.7.1
- butv4.13.1
is the newest release...Also, have a look at other issues that people have filed for the same error, as they offer resolutions. – Schoenfeldernode --version
, it says that I'm currently usingv12.16.1
now. – Genuflectnode_modules
via a file search...... – Schoenfelderpackage.json
or the folder namednode_modules
at the root of the project? – Genuflectnode_modules
. – Schoenfelder