V
V
Virgil Merkel2020-11-13 16:43:06
Angular
Virgil Merkel, 2020-11-13 16:43:06

How to raise a project to Angular if it says The serve command requires to be run in an Angular project, but a project definition could not be found?

I have versions:
5J2gMqE2u7Q.jpg
npm -v: 6.14.8
node -v: v10.23.0
I have a project: oBc87RhpJ2g.jpg
I try to run ng serve --open
writes:

The serve command requires to be run in an Angular project, but a project definition could not be found.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
acwartz, 2020-11-13
@acwartz

You do not have an angular project or its structure is not standard. Does package.json have angular as dependencies?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question