尝试在MacOS上使用Appcelerator Studio运行Alloy应用程序时出现此错误。
[ERROR] Application Installer abnormal process termination. Process exit
value was 1
2018-06-17T04:43:42.736Z | ERROR | An uncaught exception was thrown!
The "path" argument must be of type string. Received type number
2018-06-17T04:43:42.737Z | ERROR | The "path" argument must be of type
string. Received type number
2018-06-17T04:43:42.737Z | TRACE | TypeError [ERR_INVALID_ARG_TYPE]:
The "path" argument must be of type string. Received type number
path must be a string. Received 26
2018-06-17T05:05:09.071Z | ERROR | Path must be a string. Received 26
2018-06-17T05:05:09.071Z | TRACE | TypeError: Path must be a string.
Received 26
问候。
答案 0 :(得分:2)
我已安装node-v8.9.4并使用以下命令及其现在正在运行:
sudo rm -rf ~/.appcelerator
sudo rm -rf ~/.titanium
sudo npm uninstall -g titanium
sudo npm uninstall -g appcelerator
sudo npm install -g appcelerator
appc use latest
appc setup
此致