npm install --global expo-cli
envsub@3.1.0 postinstall C:\Users\y8378\AppData\Roaming\npm\node_modules\expo-cli\node_modules\envsub
test -d .git && cp gitHookPrePush.sh .git/hooks/pre-push || true
'test' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'true' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
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\y8378\AppData\Roaming\npm-cache_logs\2019-12-06T18_38_13_543Z-debug.log
如何解决这个错误