Computer Science, asked by larryboy4057, 1 year ago

The new command requires to be run outside of a project but a project definition was found at angular-cli

Answers

Answered by ankurbadani84
7

Answer :- ng update @angular/cli

ng update - This command is used to update application and its dependencies.

It can be used to update all packages in the package.json file via the --all option. This will have true and false or specific versions via the --packages option. Docs gives information on commands.

Answered by Sidyandex
2

Answer:

When getting issue when running ng server or ng serve --live-reload=true.

The issue seen when running these commands on terminal are he serve command requires to be run in an Angular project, but a project definition could not be found.

- [X] bug report -> please search issues before submitting - [ ] feature request so that the result would display.

Similar questions