[Fix for "Node Sass does not yet support your current environment" Error]
=> gulp watch
/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/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 (67)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.9.4
at module.exports (/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/node-sass/lib/binding.js:13:13)
at Object.<anonymous> (/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
at Module.require (internal/modules/cjs/loader.js:643:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/Users/noxlady/Sites/corpwatch/sites/all/themes/corpwatch/node_modules/gulp-sass/index.js:162:21)
npm install
didn't do it. Instead, use npm rebuild node-sass
. It takes several minutes, but afterwards gulp watch
works again! (Solutions found on Medium.com)