Closed angelofan closed 1 year ago
I got this error last time I ran ionic info
.
https://github.com/ionic-team/ionic-framework/issues/27567#issue-1731444883
Hey @angelofan ,
This error will occur if you are using Ionic CLI version 6 but run it against a project that was created with Ionic CLI version 7.
You'll need to update your CLI version using:
npm install -g @ionic/cli@7
You can also have the CLI installed locally with your project (and remove it globally). This allows you to have projects that are using different versions of the CLI.
Finally, you can find the version of the CLI you have installed by running ionic -v
at the terminal.
After using vscode-extension to generate the project, using
ionic g page new
to generate the page will throw an error:Does
ionic-cli
not recognizeangular-standalone
? ionic.config.jsonAfter manually changing
angular-standalone
toangular
, everything works fine.