Giter VIP home page Giter VIP logo

Comments (2)

Solaris9 avatar Solaris9 commented on July 20, 2024

This is because of transitive dependencies, if a dependency depends on package with a different version than what's in your package.json it will create a node_modules under the dependency, instanceof will not work with two different packages installed that try to use a class from it, it will reference the wrong one.

There is a temporary fix, using this package to force npm to remove transitive dependencies based on what ones you specify, if you use Yarn you will not need to install this, refer to the documentation for more.

A official fix would likely to make erela.js a development dependency so it will not install it along the others and use root node_modules, I will be fixing this soon.

from erela.js.

acollierr17 avatar acollierr17 commented on July 20, 2024

@NorteX-dev Can you provide the following information relevant to your issue above? I just tried using the latest versions below and failed to reproduce the issue.

  • System OS/Distro Version
  • Node.js Version
  • Yarn and/or NPM versions
  • Erela.js Version
  • Erela.js-Spotify version

You can disregard the question above. The official fix has been implemented at MenuDocs/erela.js-spotify@5b17503. If you update erela.js-spotify, these changes should be reflected.

Any future plugins should have erela.js as a development dependency so the root node_modules (the one which has erela.js installed) is used.

I will be marking this issue as closed. If any new issues arise, feel free to open a new issue.

from erela.js.

Related Issues (20)

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.