小编Mih*_*iuc的帖子

代码 ELIFECYCLE 错误 安装 expo-cli 时

npm install expo-cli --global
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! envsub@3.1.0 postinstall: `test -d .git && cp gitHookPrePush.sh .git/hooks/pre-push || true`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the envsub@3.1.0 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!     C:\Users\User\AppData\Roaming\npm-cache\_logs\2019-12-01T12_11_45_118Z-debug.log
Run Code Online (Sandbox Code Playgroud)

节点和 npm 版本:

node --version
v12.13.1
npm …
Run Code Online (Sandbox Code Playgroud)

node.js npm

13
推荐指数
2
解决办法
2577
查看次数

标签 统计

node.js ×1

npm ×1