Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant install ethersjs #438

Closed
eugenioclrc opened this issue Jul 8, 2022 · 13 comments
Closed

Cant install ethersjs #438

eugenioclrc opened this issue Jul 8, 2022 · 13 comments
Labels
bug Something isn't working

Comments

@eugenioclrc
Copy link

I have try to install ethers but its not working;

bun add ethers

Ends up in a frozen state.

@Pruxis
Copy link
Contributor

Pruxis commented Jul 8, 2022

It get's stuck on @babel/plugin-transform-unicode-escapes [1728/1731]

@Pruxis
Copy link
Contributor

Pruxis commented Jul 8, 2022

@eugenioclrc As a workaround install the babel plugin separately and then your installation should work.
However, I'm unsure if this will have implications on any of the functionality, although I would doubt so.

bun add @babel/plugin-transform-unicode-escapes
bun add ethers

@FinnRG
Copy link
Collaborator

FinnRG commented Jul 8, 2022

@eugenioclrc I'm unable to reproduce this issue. Are you using the latest version (v0.1.2)? If not, please upgrade using bun upgrade.

@eugenioclrc
Copy link
Author

i have just upgrade it, how ever, im still having the same issue;
Captura de pantalla de 2022-07-08 11-52-21

@FinnRG
Copy link
Collaborator

FinnRG commented Jul 8, 2022

What is your OS? And please create a verbose log (bun add ethers --verbose).

@eugenioclrc
Copy link
Author

eugenioclrc commented Jul 8, 2022 via email

@Pruxis
Copy link
Contributor

Pruxis commented Jul 8, 2022

@FinnRG I can also no longer reproduce after upgrading (was on 0.1.1) at time of testing.

@FinnRG
Copy link
Collaborator

FinnRG commented Jul 8, 2022

i have just upgrade it, how ever, im still having the same issue; Captura de pantalla de 2022-07-08 11-52-21

@eugenioclrc Could you please give us your kernel version? (uname -r). Also please provide a verbose log (bun add ethers --verbose > log.txt)

@Karl-EdwardFPJeanMehu
Copy link

Bun does indeed hang when installing ethersJS. I can confirm @Pruxis 's solution works.

@FinnRG FinnRG added the bug Something isn't working label Jul 9, 2022
@ttdatt
Copy link

ttdatt commented Jul 10, 2022

I had same problem with firebase-admin, tried to install it, but end up with install 5 dependencies to make it work.

Platform: MacOS 12.4 Apple M1
logs.txt

This is my package.json.

  "name": "node-fcm",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "@firebase/auth-interop-types": "^0.1.6",
    "@panva/asn1.js": "^1.0.0",
    "@protobufjs/codegen": "^2.0.4",
    "ansi-regex": "^6.0.1",
    "color-convert": "^2.0.1",
    "firebase-admin": "^11.0.0"
  }
}


@KKatowice
Copy link

For those who got this problem while installing ethers
error: Unsupported dependency type git for "git+https://github.com/ethereumjs/ethereumjs-abi.git"
image
On discord the answer was " git dependencies aren't supported yet " .
if anyone have any workaround to install ethers would be nice, ty.

@malonehedges
Copy link

i've been able to install ethers. not sure when it changed for me but i wasn't able to and have been able to recently. now i am just seeing other http issues using a RPC provider with ethers

@Jarred-Sumner
Copy link
Collaborator

The original issue was a missing error message for git dependencies. That issue still exists, but is tracked separately

The HTTP client issues should be fixed as of Bun v0.1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants