You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ]
The text was updated successfully, but these errors were encountered:
Description
Docker-Compile
build fails on MacThe error log:
With the verbose log as following:
The text was updated successfully, but these errors were encountered: