Closed Bosn closed 10 years ago
npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/mashengbo/git/api-blueprint/npm-debug.log npm ERR! not ok code 0
It looks like that was an issue installing protagonist, one of api-mock's dependencies. I would post this error the apiaryio/protagonist to make sure they're aware of it (also your system details, as node-gyp can be finicky in my experience)/
I just installed from npm and didn't have a problem. I'll update the protagonist dependency to see if that helps, otherwise there's not much to be done. I'll close this when I've updated.
Updated the version of protagonist that api-mock uses to the latest; if that doesn't fix your install issue I suggest you look for support with them. Hope that helps!
Thanks for the report.
command: sudo install npm -g api-mock OS: Mac OS 10.9.3 console output:
npm http 200 https://registry.npmjs.org/raw-body/-/raw-body-1.1.2.tgz npm http 200 https://registry.npmjs.org/batch/-/batch-0.5.0.tgz npm ERR! protagonist@0.11.0 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the protagonist@0.11.0 install script. npm ERR! This is most likely a problem with the protagonist package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls protagonist npm ERR! There is likely additional logging output above.npm ERR! System Darwin 13.2.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "api-mock" npm ERR! cwd /Users/mashengbo/git/api-blueprint npm ERR! node -v v0.11.11 npm ERR! npm -v 1.3.25 npm ERR! code ELIFECYCLE