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

install api-mock failure on Mac OS 10.12.4 #60

SiminXmas opened this Issue Apr 10, 2017 · 2 comments


None yet
3 participants

SiminXmas commented Apr 10, 2017

/usr/local/bin/api-mock -> /usr/local/lib/node_modules/api-mock/bin/api-mock

protagonist@1.2.6 install /usr/local/lib/node_modules/api-mock/node_modules/protagonist
node-gyp rebuild

CXX(target) Release/
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)
make: *** [Release/] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:194:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/usr/local/Cellar/node/7.8.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/api-mock/node_modules/protagonist
gyp ERR! node -v v7.8.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
└── (empty)

npm ERR! errno 1
npm ERR! protagonist@1.2.6 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the protagonist@1.2.6 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 information on how to open an issue for this project with:
npm ERR! npm bugs protagonist
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls protagonist
npm ERR! There is likely additional logging output above.


This comment has been minimized.

zobnec commented Apr 20, 2017

I have the same problem on MacOS 10.12.4


This comment has been minimized.


petebrowne commented Apr 20, 2017

Thanks for reporting the issue. We're no longer actively maintaining this project and looking for a new owner. See #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment