foundation-cli
foundation-cli copied to clipboard
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)
For users on High Sierra
To fix this, I opened up package.json in the newly created foundation newDir/ and replaced gulp-sass: ^2.1.0 with ^3.1.0 or current....
Then npm install --save-dev gulp-sass@latest
Then run foundation watch again and it works.
Updating sass would be the long term solution.
Updating it to the latest version also helps Windows users.
Does not work for me. See screenshot:
Discovered the same issues. Sass: 'npm rebuild node-sass' in the project directory did it for me. Javascript: 'npm install -S gulpjs/gulp#6d71a65'. I found this: '[email protected] breaks gulp scripts with vinyl issue' - https://github.com/gulpjs/gulp/issues/2065
That second gulp line did the trick yes. So Zurb needs to update their dependencies?
Also this keeps on happening: [15:28:04] Failed to load external module @babel/register [15:28:04] Requiring external module babel-register [15:28:07] Using gulpfile ~/bit/jerrix/gulpfile.babel.js
I have the same issue anyone had a solution?
@dackley-fa Many thanks for this. It works every time for me.
Update gulp-sass@latest did the trick on Fedora 28 too. Thanks
Updating gulp-sass triggers a rebuild.
Try npm rebuild node-sass --force
.
Thanks @egargale, npm install gulp-sass@latest
works.
I did try npm rebuild node-sass --force
but it didn't work.