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 运筹学排序问题中的在线排序
    • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
    • ¥30 求一段fortran代码用IVF编译运行的结果
    • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
    • ¥15 lammps拉伸应力应变曲线分析
    • ¥15 C++ 头文件/宏冲突问题解决
    • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
    • ¥50 安卓adb backup备份子用户应用数据失败
    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
    • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题