-
Notifications
You must be signed in to change notification settings - Fork 669
Help Wanted: Test CLI tooling for Ionic Angular 4 #3019
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
Comments
It's great! I could create v4 project and serve!! 4.0.0-rc.0
|
@rdlabo Thanks, I removed Please run the following to fix (inside your project):
|
@rdlabo I just realized that won't work (unless the CLI is installed locally). I will need to fix this tomorrow. Thanks for the report! 💪 |
@dwieeb Thanks for reply. I'm looking forward to tomorrow! I found don't work |
EDIT: @rdlabo Sorry--let me investigate this tomorrow. I'm not sure we want to highlight the |
@dwieeb thanks. I thought the function of Angular CLI can also be used. And I don't work https://github.com/ionic-team/ionic-cli/blob/master/packages/%40ionic/cli-utils/src/lib/project/angular/generate.ts#L211-L212 is use global node_modules. I will make pull request. |
@rdlabo Yes, it is an Angular CLI option, but I'd like to keep it as simple as possible. The Angular CLI team won't remove it because it would be a breaking change, but as far as I can tell, the option won't be useful to the 99%. Again, I could be totally wrong. Thanks for the PR! I left a comment. |
I didn't saw this thread and opened a new issue #3025, can we test ionic cli 4 RC.0 also on an existing project? |
@dwieeb I expect Angular CLI --aot will be processed faster. and I see the Thought of Ionic team. Thanks.
Thanks. I made PR again! |
I will write one Issue one comment.
|
page selecter (example So IDE warning. |
When |
The serve option seems to open the browser a little early sometimes. I wonder if you could skip launching the browser using the old method and just pass the open options on to the ng serve command here? ionic-cli/packages/@ionic/cli-utils/src/lib/project/angular/serve.ts Lines 205 to 210 in 94b4772
Something like:
|
I would also recommend to open the browser optional and not by default. Sometimes I just want to restart the build process and have already opened the app inside the browser. |
@rdlabo Thanks, I'll take a look at those issues. @Tiberriver256 The Angular CLI 100% opens the browser window too early as well. This is something we're working on with the Angular team. I know it will be a big complaint. It is listed here: #3003 |
@mburger81 I can use v3 project by Ionic CLI@RC. |
@dwieeb I made pull request. I think this function depends on cli-utils. so I think that it is better to refer to A, please consider |
Just upgraded to ionic 4.0.0-rc.0, testing what breaking changes have been implemented for the components so far, per https://github.com/ionic-team/ionic/blob/master/BREAKING.md Hope this will help everyone getting started! The only changes currently available (4.0.0-rc.0):
CURRENTLY UNAVAILABLE:
|
@not-a-designer Thanks, I forwarded on your comment. As a reminder, this issue is for testing the tooling, not the framework. |
Hey @not-a-designer, what do you mean by available vs unavailable? I am not fully understanding your comment. Thank you! 🙂 |
i have this issue with tabs sample app. when i run ionic cordova run android
|
I get a blank screen with cordova. Fairly new to ionic so I might do here something fundamentally wrong:
Build is successful. Upload is successful. App gets launched and I see the splash screen with the ionic loading indicator but after that a blank screen is displayed. No obvious error message. Same problem on Android and iOS.
|
@mburger81 Yep, @vksgautam1 I don't know what the problem might be right away. Would you mind opening a new issue? (EDIT: that issue is here: #3316) @franco Welcome! Your |
@dwieeb here the console errors I get:
and if I open |
@franco I'm guessing there's just a mismatch between your base href and the Web View plugin. Please ensure the following is in your
Then make sure you have the latest Web View beta installed:
|
@dwieeb So should we not test new cli against ionic3 apps? Are we not able in future to use new cli also for old apps? It would be very costly in mange different cli's for different ionic version on the same developement devices. Thx a lot |
@mburger81 All I said is this issue is for testing the tooling for ionic/angular 4. I'm just trying to keep it on-topic. The tooling for v4 projects is being actively developed, so I figured this issue would serve as a central place for people who want to test to stay updated/involved. If you encounter issues with the tooling for v1/v2/v3, then please open a new issue. |
@dwieeb Adding |
@dwieeb & everyone - thanks for all hard work and inputs on cli for Ionic Angular V4. With all the help on above issues, I have upgraded an old V2 app to V4 and can build (--prod --aot) to both iOS and Android devices! |
Awesome, good to see it working to other people but unfortunately I'm still getting a blank screen on iPhone Device :( I'm debugging to see what I can get but here you are my current setup: Ionic:
Cordova:
cordova plugin ls
|
@wilsolutions Create a new project and run |
@wilsolutions Here are the steps I took: You could even try My ionic info:
And also, be sure to run: I had to edit angular.json file because Good luck! |
Also, wipe out Cordova generated files for sanity:
|
after solving that zen observable issue.
edit- as per given post by you to update webview to latest 2.0.0 beta resolved the issue. |
Interesting, It works! Thank you fellows!
|
@wilsolutions Cool. I've never used |
Hey team, I've got a question about
Ionic info output:
Bonus question: Is there any plans to include an option to generate a separate module routing file for Pages, similar to how the I don't know how fussed I am about doing routing at the top of page.module.ts... I would think that if we're leaning towards following Angular convention, then an |
@TehCrucible Add an entry for "schematics": {
"@ionic/schematics-angular:component": {
"styleext": "scss"
}
} |
Yes I would suggest the same thing as @TehCrucible, support |
👋 Hi all. CLI RC 11 is out with some small fixes and improvements on documentation. One of the more exciting changes is that the feature flag is no longer required as the framework is nearing its first beta. 🎉 Running With that option now available to all CLI RC users, I'll be closing this issue as it was only meant for early testing. Thank you SO MUCH for helping us shape the future of tooling for Ionic Angular projects. You all rock! 🎸 Please create new issues for bugs or enhancements on the |
There are still a few known issues as of right now. These are the big ones:
Please look for the |
In ionic V4 beta : I can’t see the console log messages when I launch my app in devApp Android App. command used : App devApp on Samsung Galaxy Note 8 Android 8.0.0 (mode dev activated but no impact I think). Ionic: ionic (Ionic CLI) : 4.1.2 (/usr/local/lib/node_modules/ionic) Cordova: cordova (Cordova CLI) : 8.0.0 System: Android SDK Tools : 26.1.1 (/Users/gregory/Library/Android/sdk/) |
Hi all! 👋
We'd love to have some help testing the tooling for Ionic Angular 4. This issue will document how to get started.
Start Testing
Make sure you have the latest CLI release candidate:
Enable the
angular
project type:Start a new app, choosing
angular
when prompted for project type:We don't yet have a migration guide for existing apps, but we are keeping this list of breaking changes up to date.
Found an Issue?
Feel free to reply to this thread. If it's complicated and you need more room, feel free to open a new issue.
If you find an issue with the framework, please open an issue in the framework repo.
The text was updated successfully, but these errors were encountered: