Installation failed node.js 8.9.1 MacOS High Sierra 10.13.1 (17B48)
See original GitHub issueInstallation failed
node.js 8.9.1 MacOS High Sierra 10.13.1 (17B48)
[3/3] ⠐ sharp: gyp: Call to 'which brew >/dev/null 2>&1 && eval $(brew --env) && echo $PKG_CONFIG_LIBDIR || true' returned exit status 0 while in binding.gyp
[-/3] ⠐ waiting...
error /www/rsstu.com/node.rsstu.com/node_modules/sharp: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /www/rsstu.com/node.rsstu.com/node_modules/sharp
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@8.9.1 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/www/rsstu.com/node.rsstu.com/node_modules/sharp/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/keep/.node-gyp/8.9.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/keep/.node-gyp/8.9.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/keep/.node-gyp/8.9.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/www/rsstu.com/node.rsstu.com/node_modules/sharp',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin17/rbconfig.rb:214: warning: Insecure world writable dir /www in PATH, mode 040777
gyp: Call to 'which brew >/dev/null 2>&1 && eval $(brew --env) && echo $PKG_CONFIG_LIBDIR || true' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.2.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /www/rsstu.com/node.rsstu.com/node_modules/sharp
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Is it possible to install Node.js on macOS High Sierra Version ...
I believe the last nodejs version suported by high sierra is v17.9.1 ... Once nvm is installed, run nvm install 17.9.1 to install...
Read more >How To Update Node.js on MacOS: Hindsight on Old Mac
Option 1: Download the installer from nodejs.org and install the binary ... A machine with older version of MacOS (High Sierra).
Read more >How to Install Node.js on a Mac - Webucator
Here is how you install Node.js on a Mac. The first thing you should do is check to see if you have a...
Read more >How to install Node.js and npm on macOS - Fullstack.io
In this post, we'll be looking at three different ways to install Node.js and its package manager, Node Package Manager, on macOS.
Read more >Download - Node.js
Latest LTS Version: 18.12.1 (includes npm 8.19.2). Download the Node.js source code or a pre-built installer for your platform, and start developing today....
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
I am very sorry, reply now I am upgrading the system Causes Command Line Tools to fail run: xcode-select --install is ok
@ickeep To help diagnose this problem, are you able to share the response of running
npm ls which
?