Installation Error on Mac osX
See original GitHub issueError when running npm install sharp
on OSX 10.9.4
> sharp@0.6.0 install /Users/justin/dev/git/ignite/node_modules/sharp
> node-gyp rebuild
CXX(target) Release/obj.target/sharp/src/sharp.o
../src/sharp.cc:6:10: fatal error: 'tuple' file not found
#include <tuple>
^
1 error generated.
make: *** [Release/obj.target/sharp/src/sharp.o] 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:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/justin/dev/git/ignite/node_modules/sharp
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! sharp@0.6.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
Issue Analytics
- State:
- Created 9 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >How to Fix the "macOS Could Not Be Installed on Your ...
1. Restart Your Mac and Retry the Installation ... Sometimes, all you need to do to fix macOS errors is to restart your...
Read more >9 Ways to Fix an Error Occurred While Preparing the Installation
Fix 1: Restart your Mac · Fix 2: Check the Date and Time · Fix 3: Boot Into Safe Mode · Fix 4:...
Read more >Mac Installation Errors You May Encounter and How to Fix Them
It may seem odd but the usual cause is a corrupt installer, and simply deleting the installer app and downloading a new copy...
Read more >How to Fix macOS “Installation failed, An error occurred while ...
How To Fix The Installation Failed Error on macOS · Try Downloading The Update at Another Time · Reboot Your Mac · Make...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @salzhrani and @DMarby, I’ve added your suggested MACOSX_DEPLOYMENT_TARGET directive.
If you’re able, please could one of you try the following again:
If this works, I’ll merge this fix to master and publish to
npm
.I’m having this issue again on macOs Mojave