David-Desmaisons / Vue.Isotope

:iphone: Vue component for isotope filter & sort magical layouts
MIT License
345 stars 48 forks source link

Module not found: Error: Can't resolve 'Isotope' in vueisotope/dist #77

Open DacotahHarvey opened 4 years ago

DacotahHarvey commented 4 years ago

I am receiving this error when Webpack compiles

ERROR in ./node_modules/vueisotope/dist/vue_isotope.min.js
Module not found: Error: Can't resolve 'Isotope' in 'my_project/node_modules/vueisotope/dist'
@ ./node_modules/vueisotope/dist/vue_isotope.min.js 223:56-225:4

The library still works completely fine but the error prevents our CI from running.

Here is a small example of our code

<template>
<isotope v-if="list" :list="list" :options="option" ref="isotope">
  <div v-for="element in list"  :key="element.id">
    {{ element.name }}
    <br> {{ element.categories }}
  </div>
</isotope>
</template>
<script>
import Isotope from 'vueisotope'

export default {
  components: {
    Isotope
  }
}
</script>

Does anyone have any ideas?