Ionic-app-scripts: Ionicons are not copied on serve

Created on 29 Sep 2016  路  16Comments  路  Source: ionic-team/ionic-app-scripts

When running ionic serve the ionicons are not copied into the assets folder.
The copy task works and also copies the fonts, but apparently they are missing if called with serve.
I tried all this on a freshly started ionic --v2 app

I'd be happy to provide more information in case you need it.

_edit_ here's my info http://i.imgur.com/efXoE3q.png
The OS is actually win10

bug needs_reply

All 16 comments

Hello! Thanks for opening an issue with us! I am not able to reproduce this issue locally. Would you mind sharing a repo that i can use to reproduce this issue? Thanks!

This is happening in the ionic-conference-app if you start with a clean clone, it will happen intermittently.

@joshgarwood are you also on windows?

Yes, I am on windows 10.

Thanks!

I have experienced the same issue intermittently, both with ionic serve & ionic run/build.

ionic info :

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v6.7.0

I'm on windows 7.

Hello all! Would you all mind updating to the latest beta release of app-scripts (npm install @ionic/app-scripts@beta) and seeing if this is still an issue?

Hey @jgw96 I just got the latest and am getting an error on ionic serve :/ It may be something I'm doing wrong (or need to update), but i get the error shown below

image

@joshgarwood thanks for the info! Hmm that looks like its pointing to an error in your code, but we are not printing out the error correctly. I will look into this.

@joshgarwood unfortunately I am not able to reproduce the above error. Are you using a custom webpack config?

hmm... i'm not. I haven't made any adjustments to any of my build configs. I am on rc1 if that helps. For what it's worth, this was working before installing the latest ionic-app-scripts. I'll look a bit more closely on my end too to see if I've possibly missed something.

Is there any way to get a more detailed error message? That would help me to diagnose the issue for sure. I'm not able to find anything wrong with my code at this point. With ionic-app-scripts 36 my project runs fine, but on 37 I have build errors :(

@joshgarwood Sorry for the delay, Github has been down for me because of the huge DNS ddos attack going on today. Could you remove your node_modules, make sure your package.json looks like the one here and then run npm install and try again?

Hey @jgw96 no worries; dns issues has everyone struggling today, ha. So I just follwed your instructions above and am still not seeing the Roboto font :( It looks like I have ionic-app-scripts version 36 installed, so I'm not sure if that's the right version i should be testing with (because installing with the @beta qualifier installed version 37). Does that make sense? I feel like I'm missing something, ha.

Any updates here? Still an issue with the latest app scripts :)

This is happening to us too after update our app from beta11 to rc0.

Hello all! I am going to close this issue as a duplicate of https://github.com/driftyco/ionic-app-scripts/issues/73.

Was this page helpful?
0 / 5 - 0 ratings