Open mburger81 opened 7 years ago
I had the exact same problem as you. I assume you have your font files in /src/assets/fonts/roboto
. What I did is take the roboto
folder up two levels, directly in assets
, make the corresponding modifications to the routes in the scss. I also deleted the www
folder just in case. Don't worry about deleting it because the system creates the 'www' folder if missing. I compiled it again and it worked.
It's a tricky issue because I only got this error building for Android, the iOS building went smoothly even though the roboto
folder were inside assets/fonts
.
Hope this helps.
This is a solution. Roboto is unnecessary on Android. Solution
Short description of the problem:
On running each command except
ionic serve
, so for example on runningionic cordova emulate android -lc
I get now this error:Error: EISDIR: illegal operation on a directory, unlink '/home/michi/software/workspace/web-client-ionic/www/assets/fonts/roboto'
I have this error after upgrading @ionic/app-scripts and ionic-cli. If I remove the folder there is now problem with the build process.