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

[unspported] electron 4.0.2 #2586

Closed
cvlr opened this issue Jan 29, 2019 · 1 comment
Closed

[unspported] electron 4.0.2 #2586

cvlr opened this issue Jan 29, 2019 · 1 comment

Comments

@cvlr
Copy link

cvlr commented Jan 29, 2019

node (macOS) | v11.8.0
electron 4.0.2 using node 10.11.0
node-sass 4.11.0

index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">

    <link rel="stylesheet" href="./out/index.css">
  </head>
  <body>
    <div id="client"></div>

    <script>
      console.log(process.versions);

      const sass = require('node-sass');

      console.log(sass.renderSync({
        data: 'body{color:#f00;}',
      }));

      require('./out/index');
    </script>
  </body>
</html>

error

Uncaught Error: Missing binding /Users/marek/Desktop/redred/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x

Found bindings for the following environments:

  • OS X 64-bit with Node.js 11.x

This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass to download the binding for your current environment.

If I installed node 10.11.0 like electron using that dyld: Symbol not found error appears. npm rebuild does not help... nothing

@xzyfer
Copy link
Contributor

xzyfer commented Jan 29, 2019

We don't support electron.

@xzyfer xzyfer closed this as completed Jan 29, 2019
@saper saper changed the title HUGE BUG electron 4.0.2 [unspported] electron 4.0.2 Jan 30, 2019
jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants