alex-oleshkevich / vue-tabler-icons

Fully customizable free SVG icons made as Vue components.
MIT License
150 stars 13 forks source link

Missing module #4

Closed xorinzor closed 3 years ago

xorinzor commented 3 years ago

When importing this module via: import VueTablerIcons from 'vue-tabler-icons'; it will throw an error when compiling for every individual icon:


Module not found: Error: Can't resolve 'babel-helper-vue-jsx-merge-props' in '<snip>\node_modules\vue-tabler-icons\icons'
 @ ./node_modules/vue-tabler-icons/icons/AntennaBars2Icon.js 1:0-62 17:20-34
 @ ./node_modules/vue-tabler-icons/icons.js
 @ ./node_modules/vue-tabler-icons/index.js
 @ ./resources/js/app.js
 @ multi ./resources/js/app.js ./resources/sass/app.scss
alex-oleshkevich commented 3 years ago

Fixed in 1.8.1. Thanks for the tip!

xorinzor commented 3 years ago

Thanks for the quick fix!

amirasyraf commented 3 years ago

@alex-oleshkevich Seems like this issue is still present in 1.10?

e.g.

Module not found: Error: Can't resolve '@vue/babel-helper-vue-jsx-merge-props' in '../node_modules/vue-tabler-icons/icons'

Edit: fixed by manually installing @vue/babel-helper-vue-jsx-merge-props

xorinzor commented 3 years ago

@alex-oleshkevich can confirm what @amirasyraf says. It doesn't seem to be installed as a dependency automatically.