Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors need to kill the build #14

Open
ottenhoff opened this issue Oct 31, 2023 · 0 comments
Open

Errors need to kill the build #14

ottenhoff opened this issue Oct 31, 2023 · 0 comments

Comments

@ottenhoff
Copy link
Contributor

Sakai depends on this tool for a build. If it errors, we need the entire build to stop via an exit(1)

Here is a sample of an error during empathise:

[INFO] --- frontend:1.12.0:npm (npm empathise) @ webcomponents ---
[INFO] Running 'npm run empathise -- --query=version=63068' in /mnt/builder/svn/sakai_patcher/165_distros_22.x_/webcomponents/tool/src/main/frontend
[INFO] 
[INFO] > [email protected] empathise
[INFO] > empathise install "--query=version=63068"
[INFO] 
[INFO] Staging asset dependencies at /tmp/asset_stageU1C51A
[INFO] Writing temporary asset manifest...
[INFO] Installing modules to asset stage...
[INFO] Unable to stage assets for specifier conversion
[INFO] Error: Command failed: npm i
[INFO] npm ERR! code E500
[INFO] npm ERR! 500 Internal Server Error - GET https://registry.npmjs.org/@fortawesome%2ffontawesome-free - KV GET failed: 401 Unauthorized
[INFO] 
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR!     /home/sakai/.npm/_logs/2023-10-30T20_17_18_394Z-debug.log
[INFO] 
[INFO]     at ChildProcess.exithandler (node:child_process:397:12)
[INFO]     at ChildProcess.emit (node:events:394:28)
[INFO]     at maybeClose (node:internal/child_process:1064:16)
[INFO]     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
[INFO]   killed: false,
[INFO]   code: 1,
[INFO]   signal: null,
[INFO]   cmd: 'npm i',
[INFO]   stdout: '',
[INFO]   stderr: 'npm ERR! code E500\n' +
[INFO]     'npm ERR! 500 Internal Server Error - GET https://registry.npmjs.org/@fortawesome%2ffontawesome-free - KV GET failed: 401 Unauthorized\n' +
[INFO]     '\n' +
[INFO]     'npm ERR! A complete log of this run can be found in:\n' +
[INFO]     'npm ERR!     /home/sakai/.npm/_logs/2023-10-30T20_17_18_394Z-debug.log\n'
[INFO] }
[INFO] Assets installed to "assets" 🖖
[INFO] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant