Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic generate failing "standalone is not defined" #509

Closed
jwuliger opened this issue Jan 19, 2024 · 4 comments · Fixed by #510
Closed

ionic generate failing "standalone is not defined" #509

jwuliger opened this issue Jan 19, 2024 · 4 comments · Fixed by #510

Comments

@jwuliger
Copy link

I have a brand-new Ionic Angular NgModule App scaffolded using the Ionic CLI.

I updated @ionic/angular-toolkit to version 11.0.0 and can no longer generate anything using the CLI.

Issue:

using ionic generate page/component results in standalone is not defined

Process:

Use ionic generate component components/temp

Result:

standalone is not defined [ERROR] Could not generate component.

Is this a bug or should I have changed something? Since this update is a week old, I am having a hard time finding anything that can help.

Thanks in advance for any help.

@ragulbit
Copy link

@jwuliger I seem to have the same issue. Did you fix this issue?

@jwuliger
Copy link
Author

@jwuliger I seem to have the same issue. Did you fix this issue?

No unfortunately not. I have not dove into it yet. Pages seem to generate just fine, it seems to be related to the components only.

@ragulbit
Copy link

@jwuliger I seem to have the same issue. Did you fix this issue?

No unfortunately not. I have not dove into it yet. Pages seem to generate just fine, it seems to be related to the components only.

Indeed, I too encountered an issue generating the component. The pages appear to be functioning correctly. I resolved the problem by downgrading the version to 10.0.0, but I'm uncertain if this could lead to other issues.

@liamdebeasi
Copy link
Contributor

Hi everyone,

This was fixed in @ionic/[email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants