Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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

Closed
trusktr opened this issue Jun 20, 2018 · 5 comments

Comments

@trusktr
Copy link

trusktr commented Jun 20, 2018

This is the same report as #1764

But in my case npm rebuild node-sass or rm -rf node_modules/node-sass && npm i both don't fix the problem in my case.

@trusktr
Copy link
Author

trusktr commented Jun 20, 2018

I'm running this code in electron in 64bit macOS. Not sure if that's related.

@trusktr
Copy link
Author

trusktr commented Jun 20, 2018

Alright, I can confirm that running require('node-sass').renderSync({ data: 'div { color: #08c; }' }).css.toString() in the node repl works fine, so this seems like a problem with running it in electron.

When I try to run it in Electron, I get

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (54)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.9.0
    at module.exports (/Users/trusktr/src/Signafy+mapper-annotator/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/Users/trusktr/src/Signafy+mapper-annotator/node_modules/node-sass/lib/index.js:14:35)
    at Object.<anonymous> (/Users/trusktr/src/Signafy+mapper-annotator/node_modules/node-sass/lib/index.js:477:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)

Any ideas?

@AElouai
Copy link

AElouai commented Jun 21, 2018

I did have the same issue as you but i downgraded the version and it workes perfectly for now
i hope they fix it soon

@saper
Copy link
Member

saper commented Jun 21, 2018

Running node-sass under Electron is not supported

@hssa-saslanka

This comment has been minimized.

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
There was a typo when this logic was ported over from Ruby Sass.

Fixes sass#2425
Spec sass/sass-spec#1243
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
There was a typo when this logic was ported over from Ruby Sass.

Fixes sass#2425
Spec sass/sass-spec#1243
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants