使用 NPM 在 MacOS 和 Arch Linux 中全局安装 Ngrok 的问题
Issue with Global Install of Ngrok in MacOS and Arch Linux with NPM
我面临的问题:
我正在尝试在我的 MacOS 上全局安装 ngrok。但是当我安装它时,它给了我这个:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ngrok@3.2.5 postinstall: `node ./postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ngrok@3.2.5 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/careaxiom/.npm/_logs/2019-10-23T10_16_49_550Z-debug.log
同sudo
它正在讨论 gitHub 是什么原因造成的,但目前效果很好
sudo npm install -g ngrok --unsafe-perm=true --allow-root
我面临的问题:
我正在尝试在我的 MacOS 上全局安装 ngrok。但是当我安装它时,它给了我这个:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ngrok@3.2.5 postinstall: `node ./postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ngrok@3.2.5 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/careaxiom/.npm/_logs/2019-10-23T10_16_49_550Z-debug.log
同sudo
它正在讨论 gitHub 是什么原因造成的,但目前效果很好
sudo npm install -g ngrok --unsafe-perm=true --allow-root