You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm reporting here an issue for which I have already a solution. I spent 4h to fix it so I think that it worth the sharing.
My goal was to install microtime for an IoT project on my Next Thing C.H.I.P. (similar to a Raspberry Pi). Gcc and G++ was installed and properly working. When doing npm install I was getting this error:
Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp.
Running node -e "require('nan')" was not displaying any error but was indeed returning a code 0 (which is not an error code btw).
I tried pretty much anything to fix the issue (reinstalling build essential, node-gyp, node, npm, etc).
I then realised that from time to time I was getting this error:
Hello, I'm reporting here an issue for which I have already a solution. I spent 4h to fix it so I think that it worth the sharing.
My goal was to install microtime for an IoT project on my Next Thing C.H.I.P. (similar to a Raspberry Pi). Gcc and G++ was installed and properly working. When doing npm install I was getting this error:
Running
node -e "require('nan')"
was not displaying any error but was indeed returning a code0
(which is not an error code btw).I tried pretty much anything to fix the issue (reinstalling build essential, node-gyp, node, npm, etc).
I then realised that from time to time I was getting this error:
Indeed a locale is missing on this system and this warning is the cause of this fail during the preparation of the compilation.
To fix the problem, simply run
The text was updated successfully, but these errors were encountered: