I have a project that was not created using ng new
(rather, I followed the quickstart guide). When I run an angular CLI command in that project (such as ng generate
) I get this error message:
You have to be inside an angular-cli project in order to use the generate command.
Is there a way I can turn my existing project into an angular-cli project? (I wanted to try using it because it apparently automatically works around an issue with barrel imports and SystemJS.)