problem remains the same after upgraded:

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

> sm@0.2.11 postinstall /usr/local/share/npm/lib/node_modules/sm
> node ./scripts/postinstall.js

Running as UID: 501
Running as GID: 20
ERROR: Could not find `sm` on your PATH 
(/usr/local/Cellar/node/0.8.17/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/bin:/Users/eric/.rvm/gems/ruby-1.9.3-p362/bin:/Users/eric/.rvm/gems/ruby-1.9.3-p362@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.3-p362/bin:/Users/eric/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/eric/Downloads/adt-bundle-mac-x86_64/sdk/platform-tools:/Users/eric/Downloads/adt-bundle-mac-x86_64/sdk/tools)!
 
NPM should have installed it.
npm ERR! sm@0.2.11 postinstall: `node ./scripts/postinstall.js`
npm ERR! `sh "-c" "node ./scripts/postinstall.js"` failed with 1
npm ERR! 
npm ERR! Failed at the sm@0.2.11 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.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "sm"
npm ERR! cwd /Users/eric/nvm/bin
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/eric/nvm/bin/npm-debug.log
npm ERR! not ok code 0




On Wednesday, April 24, 2013 4:25:05 AM UTC+8, ryandesign wrote:
>
>
> On Apr 23, 2013, at 01:59, 李白字一日 wrote: 
>
> > ERROR: Could not find `sm` on your PATH 
> (/usr/local/Cellar/node/0.8.17/bin:/usr/local/Cellar/node/0.8.17/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:/Users/eric/.rvm/gems/ruby-1.9.3-p362/bin:/Users/eric/.rvm/gems/ruby-1.9.3-p362@global/bin:/Users/eric/.rvm/rubies/ruby-1.9.3-p362/bin:/Users/eric/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/eric/Downloads/adt-bundle-mac-x86_64/sdk/platform-tools:/Users/eric/Downloads/adt-bundle-mac-x86_64/sdk/tools)!
>  
> NPM should have installed it. 
> > npm ERR! sm@0.2.11 postinstall: `node ./scripts/postinstall.js` 
> > npm ERR! `sh "-c" "node ./scripts/postinstall.js"` failed with 1 
> > npm ERR! 
> > npm ERR! Failed at the sm@0.2.11 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. 
>
> Did you do this? 
>
>
> > npm ERR! System Darwin 12.3.0 
> > npm ERR! command "/usr/local/Cellar/node/0.8.17/bin/node" 
> "/usr/local/bin/npm" "install" "-g" "sm" 
> > npm ERR! cwd /Users/eric/tmp 
> > npm ERR! node -v v0.8.17 
> > npm ERR! npm -v 1.2.0 
>
> These are old: current version of nodejs 0.8 is 0.8.23; current version of 
> nodejs is 0.10.4; current version of npm is 1.2.18. Consider upgrading. 
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to