bug: "export 'ICON_PATHS' was not found in 'ionicons/icons'
See original GitHub issueBug Report
Ionic version:
0.0.4
Current behavior: on build I get this warning
warning in ./node_modules/@ionic/vue/dist/ionic-vue.esm.js "export ‘ICON_PATHS’ was not found in ‘ionicons/icons’
Expected behavior: There should not be any errors or warning
Steps to reproduce:
- Install @ionic/vue from npm on visual studio 2019
- Build your solution
Related code:
Azure DevOps GIT (https://dev.azure.com/rbgx/RedAir/_git/RedAir?version=GBmigrate)
import { addIcons } from 'ionicons';
import { ICON_PATHS } from 'ionicons/icons';
import { defineCustomElements } from '@ionic/core/loader';
import { LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_WILL_UNLOAD } from '@ionic/core';
import Vue from 'vue';
import VueRouter from 'vue-router';
Other information:
Ionic info:
WARNING Compiled with 1 warnings 13:12:53
warning in ./node_modules/@ionic/vue/dist/ionic-vue.esm.js
"export 'ICON_PATHS' was not found in 'ionicons/icons'
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
export 'ICON_PATHS' was not found in 'ionicons/icons'
Hello. Please help! I'm a beginner. I've been trying to fix this, but I can't figure it out… I'm trying to create my...
Read more >export 'ICON_PATHS' was not found in 'ionicons/icons'
javascript - "export 'ICON_PATHS' was not found in 'ionicons/icons' - Stack Overflow en español.
Read more >Ionicons Usage Guide
Usage. Ionicons is a completely open-source icon set with 1,300 icons crafted for web, iOS, Android, and desktop apps. Ionicons was made for...
Read more >Right way to use Vue and Ionic 4 - Medium
export 'ICON_PATHS' was not found in 'ionicons/icons'. But if this your case, you only need to install the dependency:
Read more >Ionic ion icons svg 404 not found - Stef Van Looveren
Ionic ion icons svg 404 not found ... Ionic icons might not work. To the "projects" -> "architect" -> "build" -> "assets" of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
npm install @ionic/vue@0.0.9
should solve it (with latest ionicons)I’m having the same issue and I’m not even using ion icons, this is happening in the default hello world app vue generates for you and after you add ionic to the mix.