foundation-cli icon indicating copy to clipboard operation
foundation-cli copied to clipboard

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)

Open dackley-fa opened this issue 7 years ago • 9 comments

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.

screen shot 2017-11-28 at 9 30 52 am

dackley-fa avatar Nov 28 '17 20:11 dackley-fa

Updating it to the latest version also helps Windows users.

arcil avatar Dec 01 '17 11:12 arcil

Does not work for me. See screenshot: image 2017-12-23 at 8 19 12 pm

jeroenrotty avatar Dec 23 '17 19:12 jeroenrotty

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

arkarys avatar Dec 24 '17 10:12 arkarys

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

jeroenrotty avatar Dec 24 '17 14:12 jeroenrotty

I have the same issue anyone had a solution?

darnaupont avatar Jan 28 '18 14:01 darnaupont

@dackley-fa Many thanks for this. It works every time for me.

abiblair avatar Mar 20 '18 17:03 abiblair

Update gulp-sass@latest did the trick on Fedora 28 too. Thanks

egargale avatar May 26 '18 18:05 egargale

Updating gulp-sass triggers a rebuild.

Try npm rebuild node-sass --force.

DanielRuf avatar Jun 28 '18 05:06 DanielRuf

Thanks @egargale, npm install gulp-sass@latest works.

I did try npm rebuild node-sass --force but it didn't work.

Midnightdem0n avatar Aug 01 '18 13:08 Midnightdem0n