-
-
Notifications
You must be signed in to change notification settings - Fork 43
Error: Error retrieving icon :al! Http failure response for http://localhost:4200/assets/svg-country-flags/svg/al.svg: 404 Not Found #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@apangr having the same issue, I ended up manually copied the svg-country-flags/svg from node_modules to my assets folder. |
@jezmaghuyop Thanks for the workaround it works on angular 14 |
In angular 17 (maybe other versions), you just have to put
Then It will work without copying the module. |
same issue, installed through npm, moreover there are no flags in my local folder(assets) |
Install peer dependencies npm i svg-country-flags -s then update your angular.json like below (svg-country-flags) "assets": [ |
Have tried everything and this issue still persists. Enough to make me never want to use this again! |
Describe the bug
When initializing the component the flags do not load. I followed the steps in the documentation
Screenshots

The text was updated successfully, but these errors were encountered: