yoy666 2019-12-07 03:05 采纳率: 0%
浏览 176

react-native配置 求助

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

如何解决这个错误

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
    • ¥15 ubuntu虚拟机打包apk错误
    • ¥199 rust编程架构设计的方案 有偿
    • ¥15 回答4f系统的像差计算
    • ¥15 java如何提取出pdf里的文字?
    • ¥100 求三轴之间相互配合画圆以及直线的算法
    • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
    • ¥15 名为“Product”的列已属于此 DataTable
    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题