我刚刚在没有使用它几个月后更新了appcelerator。我创建了一个新项目并试图为iPad Air构建它(v10.2)它完全无法构建并出现以下错误:
2017-03-02T16:18:01.679Z | DEBUG | Titanium Downloads Last Checked: 1488468509275
2017-03-02T16:18:03.713Z | ERROR | An uncaught exception was thrown!
Rebuild failed:
2017-03-02T16:18:03.714Z | ERROR | Rebuild failed:
node-pre-gyp http GET https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v51-darwin-x64.tar.gz
node-pre-gyp http 404 https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download: https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-ios-device@0.11.2 and node@7.4.0 (node-v51 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Pre-built binary not available for your system, looked for https://appc-node-binaries.s3.amazonaws.com/node-ios-device/v0.11.2/node_ios_device-v0.11.2-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! build error
我的节点版本是7.4.0
有什么想法吗?
答案 0 :(得分:2)
好的,再次回答我自己的问题。
我不知道为什么我要让404尝试获取模块,但我通过将目录更改为来解决了这个问题 〜/ Library / Application Support / Titanium / mobilesdk / osx / 6.0.2.GA / node_modules
然后运行: npm install node-ios-device
不确定这是否会帮助其他人,但它让我超越了驼峰。