eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
288 stars 72 forks source link

404 (Not Found) #319

Closed thedam closed 1 year ago

thedam commented 1 year ago

Hey, I've run the Vue code according to example

<template>
  <div id="ideo-container"></div>
</template>

<script>
  import Ideogram from 'ideogram'
  export default {
    name: 'Ideogram',
    mounted: function () {
      return new Ideogram({
        organism: 'human',
        container: '#ideo-container'
      })
    }
  }
</script>

But nothing appears in the browser and in the console there is an error: GET http://192.168.1.11:8080/data/bands/native/homo-sapiens.js 404 (Not Found)

however the file exists under the path: node_modules/ideogram/data/bands/native/homo-sapiens.js

How can I fix that?

Thanks DL

thedam commented 1 year ago

ok, after removing ideogram folder from node_modules, removing entry in package.json, and removing package-lock.json file and reinstalling it again with npm install --save ideogram it started to work