You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to generate standalone component with ionic generate or ng generate #5073
Description:
Running ionic generate component <component-name> or ng generate component <component-name> with the --standalone flag always throws the error: "Error: Unknown argument: standalone".
Steps to Reproduce:
Run ionic generate component test --standalone in an Ionic project.
Activity
WMOH-DEV commentedon Jan 16, 2024
same here, can not generate component
joelcoxokc commentedon Jan 20, 2024
hey ionic team any updates on this... Generating components is not working
dodomui commentedon Jan 29, 2024
Same here.
migueldv90 commentedon Jan 29, 2024
I was able to fix this issue by updating the angular and ionic libraries.
ng update and npm update
I want to say it was fixed in feat-ng-vite-support #5064
dodomui commentedon Jan 31, 2024
fixed by updated to "@ionic/angular-toolkit": "^11.0.1",
jerrynavi commentedon Jan 31, 2024
Closing as it's been fixed on "@ionic/angular-toolkit": "^11.0.1"
forrest-lyman commentedon Mar 15, 2024
You should reopen this ticket; I just did a fresh build with npx and it installed the angular toolkit 9.x