I just renamed the folder that contains an angular project. But when running ng serve
, I got the error:
You seem to not be depending on “@angular/core”. This is an error
I am executing the command ng serve
inside the correct folder. So this issue is not the same one mentioned here.
And I already ran npm install
.
Additionally, the command npm link
causes the error:
npm ERR! Package must have a name field to be linked