Skip to content
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

postinstall fails under mac osx #17

Open
bodokaiser opened this issue Jan 26, 2013 · 6 comments
Open

postinstall fails under mac osx #17

bodokaiser opened this issue Jan 26, 2013 · 6 comments

Comments

@bodokaiser
Copy link

Hello,

the install also fails under Mac OSX:

/usr/local/share/npm/bin/sm -> /usr/local/share/npm/lib/node_modules/sm/bin/sm

> [email protected] postinstall /usr/local/share/npm/lib/node_modules/sm
> node ./scripts/postinstall.js

Running as UID: -2
Running as GID: 20
ERROR: Could not find `sm` on your PATH (/usr/local/Cellar/node/0.8.18/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/share/npm/lib/node_modules/sm/node_modules/.bin:/usr/local/share/npm/lib/node_modules/.bin:/usr/local/Cellar/node/0.8.18/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin)! NPM should have installed it.
npm ERR! [email protected] postinstall: `node ./scripts/postinstall.js`
npm ERR! `sh "-c" "node ./scripts/postinstall.js"` failed with 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the sm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./scripts/postinstall.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls sm
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 12.2.1
npm ERR! command "/usr/local/Cellar/node/0.8.18/bin/node" "/usr/local/bin/npm" "install" "-g" "sm"
npm ERR! cwd /Users/bodo/Documents/Repositories
npm ERR! node -v v0.8.18
npm ERR! npm -v 1.2.2
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/bodo/Documents/Repositories/npm-debug.log
npm ERR! not ok code 0
@cadorn
Copy link
Contributor

cadorn commented Jan 26, 2013

The installation has been reworked as part of 0.3. Hope to cut a release soon.

@dotnetCarpenter
Copy link

Is this related to https://github.com/ajaxorg/cloud9/issues/2699?

@cadorn
Copy link
Contributor

cadorn commented Feb 19, 2013

Looks like a different issue.

@calidion
Copy link

encounterred the same problem. waiting for 0.3

@cadorn
Copy link
Contributor

cadorn commented Apr 26, 2013

Since 0.3 is taking longer than I had hoped I have made a hotfix to try and resolve this issue.

Please try [email protected]. This will warn you if sm could not be linked into your PATH but will not fail anymore.

Please let me know if this resolves your issue for now.

@calidion
Copy link

calidion commented May 6, 2013

the new version is ok for me now. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants