ITADN

iOS(iphone) build failed: go tool task -v client:tun2socks:ios failed with exit code 2.

#2726Closedsuki-neithnet 创建于 2026-03-20
S
suki-neithnetcommented
### Application Outline Client ### Describe the bug Follow the document step `npm run action client/src/cordova/setup` but got failed. ``` go: no such tool "task" ERROR(spawn_stream): go tool task -v client:tun2socks:ios failed with exit code 2.} Printing stderr: go: no such tool "task" node:internal/process/esm_loader:100 internalBinding('errors').triggerUncaughtException( ^ go: no such tool "task" Thrown at: at loadESM (node:internal/process/esm_loader:100:31) at processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v19.6.0 ERROR(spawn_stream): node --trace-uncaught /Users/user/Projects/iOS/outline-apps/client/go/build.action.mjs ios failed with exit code 1.} No error output was given... Please fix this so it gives an error output :( ▶ action(client/go/build): ❌ Failed. ERROR(spawn_stream): node --trace-uncaught /Users/user/Projects/iOS/outline-apps/client/src/cordova/setup.action.mjs ios failed with exit code 1.} Printing stderr: (node:53910) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. Do changes to assets earlier, e. g. in Compilation.hooks.processAssets. Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*. (Use `node --trace-deprecation ...` to show where the warning was created) go: no such tool "task" ERROR(spawn_stream): go tool task -v client:tun2socks:ios failed with exit code 2.} Printing stderr: go: no such tool "task" node:internal/process/esm_loader:100 internalBinding('errors').triggerUncaughtException( ^ go: no such tool "task" Thrown at: at loadESM (node:internal/process/esm_loader:100:31) at processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v19.6.0 ERROR(spawn_stream): node --trace-uncaught /Users/user/Projects/iOS/outline-apps/client/go/build.action.mjs ios failed with exit code 1.} No error output was given... Please fix this so it gives an error output :( ▶ action(client/go/build): ❌ Failed. ▶ action(client/src/cordova/setup): ❌ Failed. ``` go-task is installed and it work properly. Wonder know the actually build steps and why cause these errors. ### Steps to reproduce 1. Clone the repo 2. Follow the steps in document ### What did you expect to happen? _No response_ ### What actually happened? _No response_ ### Outline Version a4f2a07 ### What operation system are you using? macOS ### Operating System Version 26.2(25C56) ### Screenshots and Videos _No response_
关闭于 2026-03-20 0 条评论