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

Docker-Compile build fails on Mac #14

Open
Johnny850807 opened this issue Dec 20, 2020 · 0 comments
Open

Docker-Compile build fails on Mac #14

Johnny850807 opened this issue Dec 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@Johnny850807
Copy link
Contributor

Johnny850807 commented Dec 20, 2020

Description

Docker-Compile build fails on Mac

The error log:

38 packages are looking for funding
  run `npm fund` for details

found 281 vulnerabilities (272 low, 9 high)
  run `npm audit fix` to fix them, or `npm audit` for details

> app-name@0.0.0 build /usr/src/app
> ng build  --outputPath ./dist

Generating ES5 bundles for differential loading...
An unhandled exception occurred: Call retries were exceeded
See "/tmp/ng-nPhpEc/angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! app-name@0.0.0 build: `ng build  --outputPath ./dist`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the app-name@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-12-20T17_20_58_208Z-debug.log

With the verbose log as following:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using npm@6.14.8
3 info using node@v12.20.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle app-name@0.0.0~prebuild: app-name@0.0.0
6 info lifecycle app-name@0.0.0~build: app-name@0.0.0
7 verbose lifecycle app-name@0.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle app-name@0.0.0~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/src/app/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle app-name@0.0.0~build: CWD: /usr/src/app
10 silly lifecycle app-name@0.0.0~build: Args: [ '-c', 'ng build  --outputPath ./dist' ]
11 info lifecycle app-name@0.0.0~build: Failed to exec build script
12 verbose stack Error: app-name@0.0.0 build: `ng build  --outputPath ./dist`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:314:20)
12 verbose stack     at maybeClose (internal/child_process.js:1022:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
13 verbose pkgid app-name@0.0.0
14 verbose cwd /usr/src/app
15 verbose Linux 4.19.76-linuxkit
16 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
17 verbose node v12.20.0
18 verbose npm  v6.14.8
19 error code ELIFECYCLE
20 error syscall spawn
21 error file sh
22 error errno ENOENT
23 error app-name@0.0.0 build: `ng build  --outputPath ./dist`
23 error spawn ENOENT
24 error Failed at the app-name@0.0.0 build script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
@Johnny850807 Johnny850807 added the bug Something isn't working label Dec 20, 2020
@Johnny850807 Johnny850807 added this to To do in Judge Girl 4.0 (Judge Girl EX) via automation Dec 20, 2020
@Johnny850807 Johnny850807 added this to In Progress in Scrum Kanban via automation Mar 7, 2021
@Johnny850807 Johnny850807 moved this from In Progress to Issues in Scrum Kanban Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant