Error: This command is not available when running the Angular CLI outside a workspace

Total
0
Shares

I’m fairly new to Angular. But when I try to start my project with ng serve --open, I get this
error.

My project structure is like this. What can be the problem?


Solution

Navigate to root folder in terminal and then run angular cli command. Below command will put you in root directory from current location =>
cd angular_t-project

Source: StackOverflow.com

Leave a Reply

Your email address will not be published. Required fields are marked *