Giter VIP home page Giter VIP logo

Comments (5)

d-i-b avatar d-i-b commented on July 21, 2024
> [email protected] install /Users/zhaomin/repos/rr/node_modules/sass-loader/node_modules/node-sass
> node scripts/install.js


> [email protected] postinstall /Users/zhaomin/repos/rr/node_modules/sass-loader/node_modules/node-sass
> node scripts/build.js

`darwin-x64-node-0.12` exists; testing
Binary is fine; exiting
[email protected] node_modules/sass-loader
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

It works fine:)

from generator-react-webpack.

ianqueue avatar ianqueue commented on July 21, 2024

@joe5yellow - I upgraded sass-loader globally, but this still doesn't fix my issue, when I try and run the generator again it's still looking for node-sass 1.2.3 which i'm on 2.0.1...

npm WARN prefer global [email protected] should be installed with -g
\

[email protected] install /Users/ianquattlebaum/dev/react/node_modules/sass-loader/node_modules/node-sass
node scripts/install.js

Binary downloaded and installed at /Users/ianquattlebaum/dev/react/node_modules/sass-loader/node_modules/node-sass/vendor/darwin-x64/binding.node

[email protected] postinstall /Users/ianquattlebaum/dev/react/node_modules/sass-loader/node_modules/node-sass
node scripts/build.js

darwin-x64 exists; testing
module.js:355
Module._extensions[extension](this, filename);
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/ianquattlebaum/dev/react/node_modules/sass-loader/node_modules/node-sass/lib/index.js:181:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass

from generator-react-webpack.

ianqueue avatar ianqueue commented on July 21, 2024

I'm also on Node 0.12.0, not sure if that is problem

from generator-react-webpack.

ianqueue avatar ianqueue commented on July 21, 2024

Also, trying to pull this from NPM doesn't seem to give me the latest code, perhaps needs to be registered? Was seeing the missing commas fixed in the latest commit 4 days ago

from generator-react-webpack.

d-i-b avatar d-i-b commented on July 21, 2024

@ianqueue I didn't upgrade sass-loader globally, I just run npm remove sass-loader --save; npm install [email protected] --save in the project folder. It's 9 days since I have been busy offline, hope you made it already 😃

from generator-react-webpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.