-
Notifications
You must be signed in to change notification settings - Fork 30
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 seems to not work with angular cli 10 #274
Comments
Same here |
1 similar comment
Same here |
Funny, I have two ionic projects, one created yesterday, and another today - both using Angular 10. The one created yesterday I could still use |
Im facing the same issue! |
Same here. Can't generate pages. Fresh start with |
just rollback to 2.3.0 to resolve |
Did, so I can create pages automatically again... Yet, running Run npm install --save-dev @ionic/angular-toolkit@2.3.2 to resolve 1 vulnerability High Remote Code Execution Package serialize-javascript Dependency of @ionic/angular-toolkit [dev] Path @ionic/angular-toolkit > copy-webpack-plugin > More info https://npmjs.com/advisories/1548 Since it comes from |
This works for me. Thank you. |
Same here. |
This seems to be related to https://github.com/ionic-team/angular-toolkit, so I am going to move this issue over there. Thank you! |
make sure path builder sets the options correctly Closes #274
make sure path builder sets the options correctly Closes #274
🎉 This issue has been resolved in version 2.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [2.3.3](ionic-team/angular-toolkit@v2.3.2...v2.3.3) (2020-08-24) ### Bug Fixes * **generators:** update path builder ([#275](ionic-team/angular-toolkit#275)) ([1393e8c](ionic-team/angular-toolkit@1393e8c)), closes [#274](ionic-team/angular-toolkit#274)
Bug Report
Ionic CLI : 6.11.1 (#)
Ionic Framework : @ionic/angular 5.3.1
@angular-devkit/build-angular : 0.1000.7
@angular-devkit/schematics : 10.0.7
@angular/cli : 10.0.7
@ionic/angular-toolkit : 2.3.2
Capacitor:
Capacitor CLI : 2.4.0
@capacitor/core : 2.4.0
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v10.16.3 (#)
npm : 6.14.8
OS : Windows 10
When trying to run ionic g page home/examples (from the root directory of the project so ".../wrong/") I get the following error :
Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
[ERROR] Could not generate page.
The project is basically a blank project created by ionic start but just to be sure I have uploaded the project so that you can clone it for reproducibility: https://github.com/pooriaPoorsarvi/wrong
I think this may be an issue with the new Angular/Cli but since I was not sure and could not find anything on the internet about a problem with this specific version of angular and ionic I made the issue here.
Thank you for your time.
The text was updated successfully, but these errors were encountered: