-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Error: Module did not self-register. with Node 0.12 installed #653
Comments
node.js v0.12 (which was released 22 hours ago) will be supported by node-sass' next version v2.0.0. |
any idea for a release date of version v2.0.0 ? |
@chemicalbr see #602. |
Note that was 2.0.0 beta |
@sjonnet19, yes whenever the |
👍 running into this on https://github.com/marionettejs/marionettejs.com |
@Martii in future please use the |
oh kewl... look there all the time and missed that sorry. |
+1 Same issue on node v0.12.0 |
+1..... |
+1 |
1 similar comment
+1 |
BTW, with current state of master, you can build the binary by yourself for node-sass .12 or io.js: git clone https://github.com/sass/node-sass --recursive
cd node-sass
git submodule update --init --recursive
npm install
node node_modules/pangyp/bin/node-gyp rebuild -f
# or:
iojs node_modules/pangyp/bin/node-gyp rebuild -f (Optionally you can |
@am11 thanks for the tip. |
Installing node v.0.10 with nvm is a quick fix for those of you stuck on this issue. |
Well this is a Linux system not Darwin... so I think I got the correct binary... just thought I'd double check on this end with my distro. Unfortunately my PPC was my last Mac and it hasn't been replaced yet. ;) (if you haven't guessed it I'm a tester at heart) |
Ah cool. There a second problem where weren't normalising the path we fetch the binary from. We didn't account for *nix returning |
@xzyfer, thanks for the quick fixes! v2.0.1 is published with the fixes. npm install node-sass@2.0.1 |
@am11 thanks so much for the great work and the great lib |
The issue seems to be appearing again with 2.1.1 and node.js 0.12.X. |
@jskungfu I've been using node-sass successfully on 2.1.1 and 0.12.2. Have you tried clearing out node_modules and reinstalling? |
@caseywebdev I tried to use all of above tricks that is mentioned above but it is not working with node 0.12.2 but when I switch back to node version 0.10.38, it works flawless with every file change compilations. |
@jskungfu can you please create a new folder in Please also supply us with your OS, OS version, and the output |
As for your watching issues, that needs to be opened with the grunt-sass project. |
for me it resolved after 'npm rebuild' |
- Added missing bundler install step - Updated sass version, see sass/node-sass#653
Hi module.js:356 |
Try : npm install --update-binary . It worked for me. |
Fix bug with map key caching
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. (/vagrant/uil/node_modules/node-sass/lib/index.js:211: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)
Makefile:50: recipe for target 'debug' failed
make: *** [debug] Error 1
The text was updated successfully, but these errors were encountered: