Skip to content

npm install does not work #51

Open
SyedMuhamadYasir opened this issue Jul 18, 2022 · 5 comments
Open

npm install does not work #51

SyedMuhamadYasir opened this issue Jul 18, 2022 · 5 comments

Comments

@SyedMuhamadYasir
Copy link

Whenever i try to do npm install, i get the following error

I am using Ubuntu 20.04

image

can anyone help ?

@brandonetter
Copy link

brandonetter commented Jul 19, 2022

replacing the xhr2-cookies dependency in the
./tornado-cli/local_modules/web3-providers-http/package.json
to download the package from github works.
"xhr2-cookies": "git+https://github.com/souldreamer/xhr2-cookies.git"
. I'm able to check eth balance in wallets with it and connect to RPCs afterword so I assume it works. Something is broken with the included module.

@ghost
Copy link

ghost commented Jul 19, 2022

@brandonetter @SyedMuhamadYasir Sorry for this since the current xhr2-cookies doesn't support the latest nodejs ( And the changes required are now merged on the upstream web3.js web3/web3.js#5228 ) , it will be fixed as soon as the new web3.js version is released.

@SyedMuhamadYasir
Copy link
Author

@brandonetter @SyedMuhamadYasir Sorry for this since the current xhr2-cookies doesn't support the latest nodejs ( And the changes required are now merged on the upstream web3.js ChainSafe/web3.js#5228 ) , it will be fixed as soon as the new web3.js version is released.

appreciate you getting back to me

i am hoping the next release will be stable and problem free for developers

P.S : i would really appreciate if you would consider making a python API for tornado

@ghost
Copy link

ghost commented Jul 19, 2022

@SyedMuhamadYasir It would require Tornado CLI to be fully converted to Typescript ( And I am working on it ), since the UI is now open-source, we will be able to convert the CLI to SDK for Tornado Cash.

About python API I am not the fan of python since the execution is much slower than node.js. I have used the web3.py before, I need to check it once again in order to have the sdk for tornado.

@SyedMuhamadYasir
Copy link
Author

SyedMuhamadYasir commented Jul 19, 2022

@SyedMuhamadYasir It would require Tornado CLI to be fully converted to Typescript ( And I am working on it ), since the UI is now open-source, we will be able to convert the CLI to SDK for Tornado Cash.

that's good news !

About python API I am not the fan of python since the execution is much slower than node.js. I have used the web3.py before, I need to check it once again in order to have the sdk for tornado.

i understand that nodejs is the prime choice for backend logic and i respect that

even a python wrapper for the core tornado functionalities would be a huge help to python communities looking to add Tornado as a component to their project ( and i'm sure it will help with getting this project some good exposure :D )

thanks for your correspondence on this !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants