Giter Site home page Giter Site logo

npm issue about 2bored2wait HOT 6 CLOSED

themoonisacheese avatar themoonisacheese commented on July 26, 2024
npm issue

from 2bored2wait.

Comments (6)

Beaness avatar Beaness commented on July 26, 2024

Do npm install lodash

from 2bored2wait.

themoonisacheese avatar themoonisacheese commented on July 26, 2024

yep, should solve the issue.

from 2bored2wait.

sijanec avatar sijanec commented on July 26, 2024

you should add it as a dependency

from 2bored2wait.

themoonisacheese avatar themoonisacheese commented on July 26, 2024

after looking into it, this makes absolutely no sense. My code doesn't require lodash directly, but it is a dependency of minecraft-protocol. minecraft protocol has it properly set as its dependency, so it should be installed correctly in the first place. there is absolutely 0 reason for it not to.

Leaving open in case it's useful to someone, as I will not be adding a dependency i don't need based on 2 reports.

from 2bored2wait.

sijanec avatar sijanec commented on July 26, 2024

Yeah, understandable, I was just proposing a workaround for anyone else.
After I added it as a direct dependency and npm update I got it running.

Or you can just force the install using npm install.>>>

from 2bored2wait.

themoonisacheese avatar themoonisacheese commented on July 26, 2024

the guys from minecraft-protocol have informed me that it was due to me including package-lock.json, which i shouldn't do for a variety of reasons including this exact problem. i have removed it from the repo, feel free to open again if the issue persists.

from 2bored2wait.

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.