Код: Выделить всё
ERROR(spawn_stream): node --trace-uncaught /home/lachin/myProject/outline-apps/client/src/cordova/build.action.mjs android --verbose failed with exit code 1.}
No error output was given... Please fix this so it gives an error output :(
▶ action(client/src/cordova/build): ❌ Failed.
< /code>
В более ранних строках эта ошибка описана более подробно: < /p>
BUILD FAILED in 7s
/home/lachin/myProject/node_modules/execa/lib/error.js:60
error = new Error(message);
^
Error: Command failed with exit code 1: /home/lachin/myProject/platforms/android/tools/gradlew --include-build=../../src/cordova/android/OutlineAndroidLib cdvBuildDebug
at makeError (/home/lachin/myProject/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/lachin/myProject/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ProjectBuilder.build (/home/lachin/myProject/node_modules/cordova-android/lib/builders/ProjectBuilder.js:331:20)
at async file:///home/lachin/myProject/outline-apps/client/src/cordova/build.action.mjs:242:3 {
shortMessage: 'Command failed with exit code 1: /home/lachin/myProject/platforms/android/tools/gradlew --include-build=../../src/cordova/android/OutlineAndroidLib cdvBuildDebug',
command: '/home/lachin/myProject/platforms/android/tools/gradlew --include-build=../../src/cordova/android/OutlineAndroidLib cdvBuildDebug',
escapedCommand: '"/home/lachin/myProject/platforms/android/tools/gradlew" "--include-build=../../src/cordova/android/OutlineAndroidLib" cdvBuildDebug',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
Как я могу решить эту проблему?
Подробнее здесь: https://stackoverflow.com/questions/795 ... o-build-th
Мобильная версия