question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: "export 'ICON_PATHS' was not found in 'ionicons/icons'

See original GitHub issue

Bug 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:closed
  • Created 4 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

33reactions
m4rinoscommented, Apr 23, 2020

npm install @ionic/vue@0.0.9 should solve it (with latest ionicons)

6reactions
ShadeAJ1commented, Dec 23, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found