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

Getting the error when I run npm run build #1

Open
ravindrasingh22 opened this issue Oct 1, 2019 · 0 comments
Open

Getting the error when I run npm run build #1

ravindrasingh22 opened this issue Oct 1, 2019 · 0 comments

Comments

@ravindrasingh22
Copy link

Getting the error when I run npm run build.

`root@4b7f1091aa62:/usr/src/app# npm run build
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm WARN invalid config https-proxy=""
npm WARN invalid config Must be a full url with 'http://'
npm info lifecycle [email protected]prebuild: [email protected]
npm info lifecycle [email protected]
build: [email protected]

[email protected] build /usr/src/app
ng build -watch

You are running version v8.7.0 of Node.js, which is not supported by Angular CLI 8.0+.
The official Node.js version that is supported is 10.9 or greater.

Please visit https://nodejs.org/en/ to find instructions on how to update Node.js.
npm info lifecycle [email protected]~build: Failed to exec build script
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! [email protected] build: ng build -watch
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the [email protected] 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/2019-10-01T08_14_50_605Z-debug.log
root@4b7f1091aa62:/usr/src/app# ng
bash: ng: command not found`

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