# Ionic cli 3.9.2 deletes ionic fonts

**URL:** <https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554>\
**Category:** ionic-v3\
**Created:** [August 19, 2017, 4:23pm UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554 "2017-08-19T16:23:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![amjadyahya](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@amjadyahya](https://forum.ionicframework.com/u/amjadyahya)\
**Post date:** [August 19, 2017, 4:23pm UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/1 "2017-08-19T16:23:20Z")

</div>

Since I have ipgraded the ionic cli to version 3.9.2, I’m getting this error when deploying to android: Failed to load resource: net::ERR\_FILE\_NOT\_FOUND roboto-regular.woff2, took a look at assets/fonts folder and there is only 2 files: ionicons.woff and ionicons.woff2, all the other fonts are gone. I downgraded to 3.9.0 and the issue was fixed

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 19, 2017, 10:32pm UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/2 "2017-08-19T22:32:16Z")

</div>

Is this reproducible with a new project started with `ionic start blank blank`?  
If so, please create an issue here: [https://github.com/ionic-team/ionic-cli/issues](https://github.com/ionic-team/ionic-cli/issues)

---

<div class="post-metadata">

**Author:** ![moskwamichal](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@moskwamichal](https://forum.ionicframework.com/u/moskwamichal)\
**Post date:** [August 20, 2017, 1:58am UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/3 "2017-08-20T01:58:05Z")

</div>

After upgrading to ionic cli 3.9.2 same error on IOS.

Solution: Move custom fonts (I use ttf format) from /assets/fonts to /assets folder and update paths in scss file:

> @font-face {  
> font-family: RobotoCondensed;  
> src: url(“…/assets/RobotoCondensed-Regular.ttf”);  
> }

It works for me on IOS and Android as well.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 20, 2017, 1:59pm UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/4 "2017-08-20T13:59:33Z")

</div>

This sounds related: [https://github.com/ionic-team/ionic-cli/issues/2675](https://github.com/ionic-team/ionic-cli/issues/2675)

---

<div class="post-metadata">

**Author:** ![amjadyahya](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@amjadyahya](https://forum.ionicframework.com/u/amjadyahya)\
**Post date:** [August 20, 2017, 4:24pm UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/5 "2017-08-20T16:24:21Z")

</div>

@moskwamichal, could you explain more:

1- which fonts folder? there are 4 assets folders with 4 fonts folder, first in src, second in www, third in platforms/android/assets/www and finally in platform/ios/www.

2- which css file? there are a multitude of css files.

---

<div class="post-metadata">

**Author:** ![SigmundFroyd](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sigmundfroyd/32/111604_2.png) [@SigmundFroyd](https://forum.ionicframework.com/u/SigmundFroyd)\
**Post date:** [August 20, 2017, 4:54pm UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/6 "2017-08-20T16:54:39Z")

</div>

In general you ignore anything under `www` and `platforms`.

You would update whatever scss file references your custom font.

---

<div class="post-metadata">

**Author:** ![amjadyahya](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@amjadyahya](https://forum.ionicframework.com/u/amjadyahya)\
**Post date:** [August 21, 2017, 6:21am UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/7 "2017-08-21T06:21:14Z")

</div>

@SigmundFroyd, that sounds a lot of work! it’s easier just to rollback to 3.9.1

---

<div class="post-metadata">

**Author:** ![vks\_gautam1](https://avatars.discourse-cdn.com/v4/letter/v/ed655f/32.png) [@vks\_gautam1](https://forum.ionicframework.com/u/vks_gautam1)\
**Post date:** [August 21, 2017, 7:09am UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/8 "2017-08-21T07:09:47Z")

</div>

same issue for me as well

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 21, 2017, 9:36am UTC](https://forum.ionicframework.com/t/ionic-cli-3-9-2-deletes-ionic-fonts/102554/9 "2017-08-21T09:36:57Z")

</div>

(You should all +1 that Github issue and maybe even comment your details so the developers know this problem affects lots of people and can prioritize it accordingly)
