I cannot create a page using the cli command “ionic generate page testPage”. I’m getting the following error.
I tried the following fix but it didn’t work.
I cannot create a page using the cli command “ionic generate page testPage”. I’m getting the following error.
I tried the following fix but it didn’t work.
I had previously posted a solution that at the end WASNT the true solution to the problem being asked, so I deleted it.
NOW I have the true solution! Add the following lines to your angular.json at the bottom & BOOM ionic generate page works again!
“cli”: {
“schematicCollections”: [
“@ionic/angular-toolkit”
]
}
Image example:
Hope THIS solution helps!
Thanks a lot. It helped