Coder Social home page Coder Social logo

Comments (6)

decentral1se avatar decentral1se commented on June 24, 2024 1

Thank you @cblgh, npm install -g [email protected] worked! I'm in.

from cabal-cli.

sorenpeter avatar sorenpeter commented on June 24, 2024

Also getting the same error on MacOS BigSur

from cabal-cli.

cblgh avatar cblgh commented on June 24, 2024

@sorenpeter @decentral1se thanks for the issue! looks like one of our deps did something unexpected in a patch they released a while back. ironically it hasn't been caught by devs because that dep is pinned by package-lock.json which npm ignores when installing via npm install lol.

can y'all try this prepatch release i made to see if it fixes the issue for y'all?

i could replicate the issue and the solution in 14.1.4-0 fixed it for me, keen to hear if that's broadly the case for others :)

from cabal-cli.

ralphtheninja avatar ralphtheninja commented on June 24, 2024

@cblgh You mean a package-lock.json in a dependency to cabal-cli?

from cabal-cli.

cblgh avatar cblgh commented on June 24, 2024

@ralphtheninja i mean a published version of cabal-cli will not have package-lock.json be used to determine which dependncies are downloaded whe running the command npm install --global afaiu

in our case, the culprit causing issues appears to have been emilbayes/noise-protocol@2891a1f i.e. [email protected] has cabal working as intended (which appears to be the case when cloning cabal-cli and installing with npm i inside the repo folder) while having [email protected] installed (as seems to be the case when running npm i -g cabal) causes the issue mentioned in the original post

from cabal-cli.

ralphtheninja avatar ralphtheninja commented on June 24, 2024

n our case, the culprit causing issues appears to have been emilbayes/noise-protocol@2891a1f i.e. [email protected] has cabal working as intended (which appears to be the case when cloning cabal-cli and installing with npm i inside the repo folder) while having [email protected] installed (as seems to be the case when running npm i -g cabal) causes the issue mentioned in the original post

Ah makes sense. Maybe we should remove package-lock.json completely? This way a dev or someone using the cli application directly from source will notice problems earlier. Also a bit unfortunate that a new patch version of noise-protocol broke this.

from cabal-cli.

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.