node-gyp 的 Titanium 应用程序编译错误

Titanium app compilation error with node-gyp

我正在尝试使用新计算机编译 Titanium 应用程序(在 iOS 上)。 但是当我启动编译时,我遇到了一个我不明白的错误:

Failed to execute '/usr/local/Cellar/node/13.8.0/bin/node /Users/clement/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/clement/Library/Application Support/Titanium/mobilesdk/osx/8.3.1.GA/node_modules/node-ios-device/binding/node-v79-darwin-x64/node_ios_device.node --module_name=node_ios_device --module_path=/Users/clement/Library/Application Support/Titanium/mobilesdk/osx/8.3.1.GA/node_modules/node-ios-device/binding/node-v79-darwin-x64 --napi_version=5 --node_abi_napi=napi'

我看到可能是因为 "Application Support" 中的 space ?

我不明白这个问题。有人可以帮我吗?

非常感谢:)

将您的 nodejs 版本更改为 10.x (https://nodejs.org/dist/latest-v10.x/) 并再次安装 CLI:npm install -g titanium appcelerator alloy 并再次 运行 构建过程。

05/2020 - Titanium SDK 9:您现在可以使用 Node 12.x!

非常感谢,它正在工作:)

但是我现在有另一个编译错误:

  • 使用 SDK 7.4。0.GA:"Unable to find any Xcode installations that supports at least iOS 8.0"
  • 使用 SDK 8.0.2.GA 到 8.2.1.GA : "Unable to find any Xcode installations that supports iOS Simulator 13.2.2"
  • 使用 SDK 8.3。1.GA:“[LiveView] TypeError:无法读取未定义的 属性 'sort'”

也许你知道这个问题是从哪里来的? :)

非常感谢:)