-
Notifications
You must be signed in to change notification settings - Fork 1.3k
"Module did not self-register"on Windows 8.1, iojs 1.7.1 #870
Comments
Which version of node-sass? |
Looks like it is a problem with io.js nodejs/node#751 the workaround is to use |
v2.1.1 |
iojs 0.17 isn't supported as it's a old version. We currently actively support iojs 1.0+. |
I am sorry, I completely messed up the version. I was using v1.7.1 not 0.17.1... |
I see. This currently an issue with the node-sass 2.x branch. It only supports iojs 1.0-1.6 (since 1.7 didn't exist at the time). Alternatively you can use the latest beta. It has a much more robust way of handling new runtime versions and shouldn't suffer from these issues in the future. |
That's good news @xzyfer ! Is there an open issue I can suscribe to know when the new version is out? |
There is not. I have however labelled this issued as |
@xzyfer Thanks for your response. |
Interesting. Could you please show the full output of a fresh |
There seems to be an issue of permissions at the end but the problem is that I am running it as an administrator... |
Thanks all! @am11 this appears to be the same issue I mentioned to you Any ideas?
|
I think this is nodejs/node#751 as written above... |
I believe @saper is correct which means this issue will not be resolved until it's fixed upstream. I'll make a note of this on the node-sass read me. Until then I recommend using node on Windows. |
The real issue is that: we cannot use npm modules having C++ add-ons with @doodledood, when using io.js in Windows, invoke the process with @xzyfer, This issue was fixed in io.js particularly for node-sass and few other C++ modules (because luckily, node-sass possesses one of those binaries which do not export any data <- in C sense). Secondly, while node-sass has pangyp packaged, and rvagg/archived-pangyp#5 is going nowhere; at release time, you (:smile:) can use https://github.com/iojs/io.js/tree/master/deps/npm/node_modules/node-gyp variant of node-gyp to build the Windows binaries for io.js. This will let folks invoke |
We should add this to the 3.0.0 trouble shooting guide. |
x-ref #916 |
Before building, first apply the following patch to pangyp: rvagg/archived-pangyp#5 (until it is merged). Issue URL: sass#870.
Before building, first apply the following patch to pangyp: rvagg/archived-pangyp#5 (until it is merged). Issue URL: sass#870.
Fixed by #926. |
Tried to build a project using webpack, that uses babel-core which uses node-sass and got the following error: "Module did not self-register".
Unable to solve this no matter what I try.
Was reproduced on couple of machines
The text was updated successfully, but these errors were encountered: