foundation / foundation-cli

The command line installer for Foundation Sites, Emails, Apps.
178 stars 47 forks source link

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

Open dackley-fa opened 6 years ago

dackley-fa commented 6 years ago

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

arcil commented 6 years ago

Updating it to the latest version also helps Windows users.

jeroenrotty commented 6 years ago

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

arkarys commented 6 years ago

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: 'gulp@4.0.0-alpha.3 breaks gulp scripts with vinyl issue' - https://github.com/gulpjs/gulp/issues/2065

jeroenrotty commented 6 years ago

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

darnaupont commented 6 years ago

I have the same issue anyone had a solution?

abiblair commented 6 years ago

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

egargale commented 6 years ago

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

DanielRuf commented 6 years ago

Updating gulp-sass triggers a rebuild.

Try npm rebuild node-sass --force.

Midnightdem0n commented 6 years ago

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

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