onlyotdn commented on PR #2852: URL: https://github.com/apache/incubator-streampark/pull/2852#issuecomment-1635322817
@wangsizhu0504 When executing the ./build.sh script, the following error occurred: ``` [INFO] --- frontend-maven-plugin:1.12.1:pnpm (build) @ streampark-console-service --- [INFO] Running 'pnpm run build:no-cache' in /Users/bytedance/IdeaProjects/incubator-streampark/streampark-console/streampark-console-service/../streampark-console-webapp [INFO] [INFO] > [email protected] build:no-cache /Users/bytedance/IdeaProjects/incubator-streampark/streampark-console/streampark-console-webapp [INFO] > npm run clean:cache && npm run build [INFO] [INFO] [INFO] > [email protected] clean:cache [INFO] > rimraf node_modules/.cache/ && rimraf node_modules/.vite [INFO] [INFO] [INFO] > [email protected] build [INFO] > cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build [INFO] [INFO] node:events:505 [INFO] throw er; // Unhandled 'error' event [INFO] ^ [INFO] [INFO] Error: spawn pnpm ENOENT [INFO] at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) [INFO] at onErrorNT (node:internal/child_process:478:16) [INFO] at processTicksAndRejections (node:internal/process/task_queues:83:21) [INFO] Emitted 'error' event on ChildProcess instance at: [INFO] at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12) [INFO] at onErrorNT (node:internal/child_process:478:16) [INFO] at processTicksAndRejections (node:internal/process/task_queues:83:21) { [INFO] errno: -2, [INFO] code: 'ENOENT', [INFO] syscall: 'spawn pnpm', [INFO] path: 'pnpm', [INFO] spawnargs: [ 'vite', 'build' ] [INFO] } [INFO] ELIFECYCLE Command failed with exit code 1. [INFO] ------------------------------------------------------------------------ ``` ``` [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.1:pnpm (build) on project streampark-console-service: Failed to run task: 'pnpm run build:no-cache' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :streampark-console-service ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
