Comments (6)
Thank you @cblgh, npm install -g [email protected]
worked! I'm in.
from cabal-cli.
Also getting the same error on MacOS BigSur
from cabal-cli.
@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?
npm -i g [email protected]
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.
@cblgh You mean a package-lock.json
in a dependency to cabal-cli
?
from cabal-cli.
@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.
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 withnpm i
inside the repo folder) while having[email protected]
installed (as seems to be the case when runningnpm 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)
- Render bug: online nicks with duplicates bleed bold over to the next line HOT 2
- Out of heap space crash HOT 8
- Could not install - sodium-native related error HOT 4
- installation hangs on arch HOT 1
- Can cabal support chatting in emacs? HOT 1
- Peer IDs don't show for some users HOT 1
- can't install when using zsh-nvm HOT 2
- how do i get my key? HOT 1
- some channels make the ui scroll a bit HOT 1
- Receiving a private message doesn't open a new pane for them in the sidebar
- Make display of incoming PM configurable HOT 3
- Include timestamps on search results
- Top titlebar does not recover / redraw properly after being narrowed and re-widened HOT 1
- Cabal binaries: "No native build was found for platform=linux ..." HOT 2
- ERR_INVALID_ARG_TYPE(name, 'number', value HOT 1
- Display the alias name of cabals when in multi-cabal mode HOT 1
- Sync indicators on peer list
- Running two instances on same laptop HOT 1
- Does Cabal work in countries with restricted or censored Internet access? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cabal-cli.