Open idan003 opened 5 years ago
Could you try running ionic build
before ionic serve
?
i tried still the same
After ionic build
, does the file exist at www/svg/ios-log-out.svg
?
yes after ionic build is didn't fix the problem but i found a solution: https://github.com/ionic-team/ionic/issues/17245#issuecomment-457309291
i did that and clean the cache, and is back to work
I summarized it here -> https://github.com/ionic-team/ionic/issues/17019#issuecomment-452828443
Then Ionicons are working in native app and browser
confirming that this still is a working solution. @paulstelzer thanks!
ionic (Ionic CLI) : 4.12.0 (***/node_modules/ionic)
Ionic Framework : @ionic/angular 4.1.1
@angular-devkit/build-angular : 0.13.5
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.3.5
@ionic/angular-toolkit : 1.4.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.1.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 6 other plugins)
System:
ios-sim : 7.0.0
NodeJS : v8.11.3 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
@dwieeb after build the file does not exist for me at www/svg/ios-log-out.svg
Description:
Hi,
i upgrate today my ionic libary from 4.0.0-beta19 to 4.0.0 and after i run ionic serve -l the icons are not working and show me:
Failed to load resource: the server responded with a status of 404 (Not Found) :8100/svg/ios-book.svg:1 Failed to load resource: the server responded with a status of 404 (Not Found) :8100/svg/ios-cube.svg:1 Failed to load resource: the server responded with a status of 404 (Not Found) :8100/svg/ios-cog.svg:1 Failed to load resource: the server responded with a status of 404 (Not Found) VM35:1 GET http://localhost:8100/svg/ios-log-out.svg 404 (Not Found)
My
angular.json
:My
Package.json
:My
ionic info
:Thanks