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

bug: ionic generate page <name> not working on standalone projects (v8) #512

Open
3 tasks done
Hesesses opened this issue Jul 19, 2024 · 0 comments
Open
3 tasks done
Labels

Comments

@Hesesses
Copy link

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

ionic generate page pagename

ng generate page pagename --project=app
Could not find your routes file. Use the skip-import option to skip importing.
[ERROR] Could not generate page.

ionic generate page pagename --skip-import

ng generate page pagename --skip-import --project=app
Error: Unknown argument: skip-import
[ERROR] Could not generate page.

Expected Behavior

New page will be created

Steps to Reproduce

  1. type on console: ionic generate page pagename

Code Reproduction URL

no url

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/Users/hesesses/.nvm/versions/node/v18.20.4/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 8.2.5
@angular-devkit/build-angular : 17.3.8
@angular-devkit/schematics : 17.3.8
@angular/cli : 17.3.8
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 6.1.1
@capacitor/android : not installed
@capacitor/core : 6.1.1
@capacitor/ios : 6.1.1

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v18.20.4 (/Users/hesesses/.nvm/versions/node/v18.20.4/bin/node)
npm : 10.7.0
OS : macOS Unknown

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Jul 19, 2024
@sean-perkins sean-perkins transferred this issue from ionic-team/ionic-framework Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant