【发布时间】:2018-08-16 10:57:51
【问题描述】:
react-native-ibm-mobilefirst@8.0.2018072413 安装后 D:\Call4Code\MyTestApp \node_modules\react-native-ibm-mobilefirst chmod +x 脚本/postinstall.sh && ./scripts/postinstall.sh
'chmod' 未被识别为内部或外部命令, 可运行的程序或批处理文件。 npm WARN eslint-plugin-react-native@3.2.1 需要 eslint@^3.17.0 的 peer || ^ 4.0.0 但没有安装。您必须自己安装对等依赖项。 npm WARN 可选跳过可选依赖:fsevents@1.2.4 (node_modules\fse 通风口): npm WARN notsup 跳过可选依赖:fsevents@ 不受支持的平台 1.2.4:想要 {"os":"darwin","arch":"any"} (当前:{"os":"win32","arch":"x64"} )
npm 错误!代码生命周期
npm 错误!错误号 1
npm 错误! react-native-ibm-mobilefirst@8.0.2018072413 安装后:chmod +x scri
pts/postinstall.sh && ./scripts/postinstall.sh
npm 错误!退出状态 1
npm 错误!
npm 错误!在 react-native-ibm-mobilefirst@8.0.2018072413 安装后失败
脚本。
npm 错误!这可能不是 npm 的问题。可能有额外的日志
上面的输出。
npm 错误!可以在以下位置找到此运行的完整日志: npm 错误! C:\Users\shalvi_kubal\AppData\Roaming\npm-cache_logs\2018-08-16T10 _34_10_364Z-debug.log
【问题讨论】:
-
目前 ibm-react-native-mobilefirst 包支持不适用于 windows
-
你可以加入mobileFirst slack社区mobilefirstplatform.ibmcloud.com/blog/2017/05/26/…
标签: windows react-native npm ibm-mobilefirst