npm install of spectron fails on node v14.0.0, mac osx 10.14.6
See original GitHub issuenpm install --save-dev spectron fails when using node v14.0.0 on mac 10.14.6
core-js@3.6.5 postinstall /Work/Projects/Patty/figma_plugin_ws/spectron/node_modules/core-js node -e “try{require(‘./postinstall’)}catch(e){}”
spectron@11.0.0 postinstall /Work/Projects/Patty/figma_plugin_ws/spectron/node_modules/spectron node lib/rpath-fix.js
npm WARN spectron-demo@1.0.0 No description npm WARN spectron-demo@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spectron@11.0.0 postinstall: node lib/rpath-fix.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spectron@11.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:13
Top Results From Across the Web
NPM, Node fail to open after upgrade to Mojave 10.14.6
I ran brew style and then brew update-reset and homebrew started working again. Then, brew reinstall node got everything working once more.
Read more >Steps to solve Node.js — NPM — Installation Issue in Mac OS ...
Here is the list of steps i have done to finally compile my node modules properly and make the node.js project start. Step...
Read more >How To Update Node.js on MacOS: Hindsight on Old Mac
Now consider a case for updating Node.js (and subsequently npm) ... Option 1: Download the installer from nodejs.org and install the binary.
Read more >How to Install Node on a MacOS, Linux, or Windows Machine ...
Fortunately, installing NodeJS is super simple. In this tutorial we will cover how to install NodeJS/NPM in * macOS/linux * Windows Once you ......
Read more >Installing Node.js® and NPM on Mac
What's Node.js® and NPM?Node.js® is a JavaScript-based environment which you can use to create web-servers and networked applications. You can also use it ......
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 FreeTop 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
Top GitHub Comments
I have the same issue with following versions; macOS catalina 14.15.6 node v12.18.3
After install the Xcode toolkit, issue is fixed.
xcode-select --install
We are actively troubleshooting this on a machine right now. Individual recently updated to Catalina. I realize the issue states for 10.14, but the error is the same and just stated for context.
Believe it to be related to not having xcode installed properly. From your terminal window, try running the command
install_name_tool
. If you receive a message about command line tools and missing xcrun, then see this blog: https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcrun/You might also try reinstalling full xcode: https://wilsonmar.github.io/xcode/
I have 10.14 on my mac with full xcode and not experiencing this issue.