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)