Coder Social home page Coder Social logo

npm installation fails about igv-ui HOT 20 CLOSED

igvteam avatar igvteam commented on August 20, 2024
npm installation fails

from igv-ui.

Comments (20)

jrobinso avatar jrobinso commented on August 20, 2024

igv-ui is not an NPM module, it is a component for the igv.js project and not designed to be used stand-alone. What are you hoping to do with it?

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

I don't know what "node install" does. 'npm install igv' works for me.

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

It runs on every commit via github workflow, and we have ~4,000 NPM installs weekly from organizations other than ourselves.

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

So its a puzzle.

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

I have also had weird errors installing packages from github. I have on my to-do list just to put these dependent projects in NPM, I think that will solve this sort of error permanently. This one is especially strange as we are both on the same node and NPM versions. You might track clearing your NPM cache.

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

Most likely, this is not returning what you think it is. I have no way to verify that of course. Try pasting that URL into a web browser and see what's returned.

browser.apiAddr + '/getResult?serverId=' + this.state.serverId + "&fileName=" + this.state.refFile,

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

A more direct test is to observe the network traffic using your browsers developement tools. The response should be the content of the fasta file.

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

Al-Mclean avatar Al-Mclean commented on August 20, 2024

Hi @adadiehl, I'm having the same issue to your original post with a different install (homebridge-broadlink-rm plug-in) - could you provide a bit more detail on how you worked around the issue?

Thanks,

Al

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

I've never been able to reproduce the original problem. npm install igv works beautifully for me. This particular project (igv-ui) is not an npm module, and really not designed for general use outside of the igv projects but if it works for you great.

from igv-ui.

adadiehl avatar adadiehl commented on August 20, 2024

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

@adadiehl If I knew what the "isolated cases" were I could add a warning, but more likely I would fix them. We have automated builds, on multiple platforms, and something on the order of 10,000 installations, so whatever causes this is rare.

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

A key question here is why is your build system trying to install igv-ui in the first place? Its not part of the igv.js distribution, all required packages are rolled up in igv.esm.js.

from igv-ui.

jrobinso avatar jrobinso commented on August 20, 2024

OK I don't know why you can't install igv-ui, perhaps your build or package manager can't install from github or there is some issue with our configuration, but the project is not needed at runtime so I moved the dependency to "dev-dependencies", which is probably where it belongs anyway. This might fix the problem, certainly it should prevent attempts to install igv-ui from an "igv" install.

from igv-ui.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.