钛扩展 处理"launch"错误:无法在 Visual Studio 代码中找到正在运行的任务



我有一个应用程序是使用Titanium appcelerator开发的(我知道它已经被删除了,但现在我没有时间用其他语言重新编写应用程序(,使用带有Titanium插件的Visual Studio代码。

最近,我能够在我的设备上运行该应用程序,并将该应用程序启动到Xcode组织者。

但更新后(我不知道更新了什么(,我无法再在设备上测试我的应用程序。我收到一条弹出消息:

[titanium-extension] Error processing "launch": Unable to find running task

在控制台中,我得到了这个错误:

Error running task
Unable to find loaded project for /Users/manuelrodrigues/Documents/Appcelerator_Studio_Workspace/aqua-info, please ensure it is active in the workspace

这是我的launch.json文件:

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch on Android",
"type": "titanium",
"request": "launch",
"platform": "android"
},
{
"name": "Launch on iOS",
"type": "titanium",
"request": "launch",
"platform": "ios"
}
]

}

Instaled版本:

节点:v17.7.1npm:8.5.2vscode:1.65.2(通用(appcelerator钛插件:0.14.0appcelerator钛SDK:10.1.1.GA

有人能帮我纠正这个错误吗?我真的不知道是什么。

感谢

当前不支持节点17。最大版本是16(它会记录一个警告,但工作正常(。所以我会降级你的节点,然后用sudo npm i -g titanium alloy重新安装工具链,然后再次启动vscode。

您也可以始终使用CLIti build -p ios -C foo并以这种方式进行编译。

简要说明:它并没有停止,现在只是一个完全开源的项目,Tidev股份有限公司将继续维护这项工作。更多的更新将到来,所有模块都将更新并保持不变!

最新更新