node ./postinstall.js
ngrok - 解压二进制文件时出错错误:无法提取目标路径之外的文件
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @expo/ngrok@2.3.0 postinstall:node ./postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @expo/ngrok@2.3.0 postinstall script.
- 操作系统:Windows 10
- Node :8.11.4
- npm:6.4.0
最佳答案
sudo npm i -g ngrok --unsafe-perm=true --allow-root
这将解决您的问题。
关于node.js - Npm/Yarn 未正确安装并出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54898247/