I want to upload my Angular project on the server. However, "ng build" results in an error.
**The build command requires to be run in an Angular project, but a project definition could not be found.**
I want to upload my Angular project on the server. However, "ng build" results in an error.
**The build command requires to be run in an Angular project, but a project definition could not be found.**
Seems you try to run ng build outside an angular project. Navigate to your project root and try again. From the docs:
Must be executed from within a workspace directory.