purser icon indicating copy to clipboard operation
purser copied to clipboard

Conflict: trezor can not be installed after metamask

Open olegabr opened this issue 5 years ago • 3 comments

npm i @colony/purser-metamask
npm i @colony/purser-trezor
npm ERR! path /tmp/test/node_modules/websocket
npm ERR! code EISGIT
npm ERR! git /tmp/test/node_modules/websocket: Appears to be a git repo or submodule.
npm ERR! git     /tmp/test/node_modules/websocket
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/olegabr/.npm/_logs/2019-04-21T09_57_58_195Z-debug.log

olegabr avatar Apr 21 '19 10:04 olegabr

I don't remember experiencing this, but I'll try to replicate it locally nonetheless.

Thanks for reporting it.

rdig avatar Apr 21 '19 17:04 rdig

I get this same error when running npm install repeatedly with Nexchange's Open Source Frontend, and just submitted a PR to the same, with a workaround - is there a better solution? Apologies if you would have preferred a separate Issue but my issue is almost identical (except I get the error regardless of what I try to install).

DuncanBetts avatar Sep 23 '19 10:09 DuncanBetts

As I've mentioned last time I've tried this I couldn't replicate it.

But I guess enough time has passed since then, and a bunch of purser versions were released in the mean time, so It's time to check again :)

There should be better solution for this, that you to have to work around it in your repo, but I'll have to investigate.

At the very least, I can integrate your fix directly in this library.

rdig avatar Sep 23 '19 11:09 rdig