You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: [Ionic 4.6.0] Icons not loaded in prod using relative path #18650
I have the same issue. I have an ionic site in a subfolder e.g.: example.com/backend/ of my server. But the production build will try to load the icons from the absolute path /svg/ so from example.com/svg/ and this will fail because all icons are in example.com/backend/svg/. Also in android/ios apps the icons disappear after updating to ionic 4.6.0. This issue may is a duplicate of #18614 ?!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
liamdebeasi commentedon Jun 28, 2019
Thanks for the issue! I two questions that will help me figure out what's going on:
rm -rf node_modulesand then runnpm ito see if things start working again?Thanks! 🙂
jakechen0816 commentedon Jun 28, 2019
same situation, after rm -rf node_modules and re-run npm i does not work. 404 Error 0.0.0.0/svg/md-menu.svg
DavidWiesner commentedon Jul 1, 2019
I have the same issue. I have an ionic site in a subfolder e.g.:
example.com/backend/of my server. But the production build will try to load the icons from the absolute path/svg/so fromexample.com/svg/and this will fail because all icons are inexample.com/backend/svg/. Also in android/ios apps the icons disappear after updating to ionic 4.6.0. This issue may is a duplicate of #18614 ?!manucorporat commentedon Jul 1, 2019
Fixed by 4038e0a
Snickdx commentedon Jul 4, 2019
Issue persists for me. Created a tabs starter project and made a production build, icons not showing and no errors in console.
ionitron-bot commentedon Aug 3, 2019
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.