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

Slow opening ionic 3 project #14228

Closed
Ayoubaddi opened this issue Mar 24, 2018 · 4 comments
Closed

Slow opening ionic 3 project #14228

Ayoubaddi opened this issue Mar 24, 2018 · 4 comments
Labels
ionitron: v3 moves the issue to the ionic-v3 repository

Comments

@Ayoubaddi
Copy link

Ayoubaddi commented Mar 24, 2018

i finish my application and i build it with this command ionic build android --release , and i use a splash screen , and is work fine in google chrome browser
but in android device is take 180 second to open before show the splash screen
i try to use ionic build android --prod , but is show me this error https://i.imgur.com/DpQY5ir.png
can anyone help me ?
Thank for the time

@ionitron-bot ionitron-bot bot added the triage label Mar 24, 2018
@ghenry22
Copy link

ghenry22 commented Mar 29, 2018

you need to use
ionic cordova build android --prod --release
Each of those flags services a different purpose
--prod optimizes the javascript / html / css build
--release builds a signed release binary for android

try deleting your node modules folder and running npm install again to get a clean modules folder.

You should also try to resolve the typescript errors that are reported in the build output.

@Ayoubaddi
Copy link
Author

@ghenry22 Thank You So much
That solve my problem
Thank you so much i still a lot of time complain because my project doesn't complete because this problem
now i fixed with 'delete node modules folder'
Thank You So much again

@Ionitron Ionitron added the ionitron: v3 moves the issue to the ionic-v3 repository label Nov 29, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!

Thank you for using Ionic!

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

Issue moved to: ionic-team/ionic-v3#458

@ionitron-bot ionitron-bot bot closed this as completed Nov 29, 2018
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 29, 2018
@ionitron-bot ionitron-bot bot removed the triage label Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ionitron: v3 moves the issue to the ionic-v3 repository
Projects
None yet
Development

No branches or pull requests

3 participants