On Apr 24, 2013, at 21:37, 李白字一日 wrote: > 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.
It looks like the developers of sm already know of this problem and will fix it in sm@0.3: https://github.com/sourcemint/sm-npm/issues/17 -- -- 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.