-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'module' object has no attribute 'script_main' #19
Comments
Mark here |
Seems like gyp having some issues. @TooTallNate any ideas why? |
IS there any sense of creating issue on node_gyp so authors will try to find the solution? May signature of some node_gyp methods where changed? |
I think that's a good idea. |
Can someone who is more familiar with how |
I have the problem same as @olostan |
Like @kelvinlee I too have this issue. |
Did anybody found any workaround? (another version of node/node-gyp?) |
Same issue here |
node-gyp@~0.11 works. |
@gifarangw you was able to install |
@gifarangw @olostan I have cloned node-gyp and node-usage repositories then did the following:
Unfortunately, I got the same errors as before, including a PS I came across this problem while trying to install PM2 on CentOS 6.5. I can install PM2 and therefore node-usage on Mac OSX Lion and Ubuntu. |
@olostan @workingmatt I manually altered node-gyp version under npm's directory by executing commands as follow:
Env: CentOS release 6.4 (Final) In my case this solves node-usage installation problem, but node v0.11.9 with [email protected] makes some errors while installing other modules...... I decided to rollback node version to v0.10.24, official stable version. @workingmatt I also encountered this error while installing pm2 on CentOS machine. After changing node version to v0.10.24 (with [email protected], [email protected]), pm2 can be successfully installed. As you may know, pm2 on node 0.10.x has a known issue about releasing port (Unitech/pm2#74), which can be solved by using fork option. |
@gifarangw thank you. Your approach worked for me with a subtle change to the path used because I'm not using nvm just npm and node v0.10.24 on CentOS 6.4 cd /usr/lib/node_modules/npm PM2 is now working on CentOS, but I think this is a workaround and this issue should remain open for usage and/or node-gyp. |
+1 to @workingmatt for his comment. It worked very well for me, but I had to reinstall NodeJS from source. |
+1 @workingmatt |
don't work with node 0.10.26 a npm 1.4.4 => error code ELIFECYCLE stay in 0.10.24 guys... I 'll try tommorrow |
During installing 'usage' I got:
node -v v0.11.9
node-gyp -v v0.12.2
Python 2.6.6
The text was updated successfully, but these errors were encountered: