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

Errors using package with the latest version of web3 #10

Open
ryanchristo opened this issue Mar 29, 2019 · 1 comment
Open

Errors using package with the latest version of web3 #10

ryanchristo opened this issue Mar 29, 2019 · 1 comment
Labels
bug Something isn't working help-wanted Extra attention is needed

Comments

@ryanchristo
Copy link
Contributor

ryanchristo commented Mar 29, 2019

Description

node-metamask currently does not support the latest beta release of the web3 package. I received the following error running node-metamask with web3 version 1.0.0-beta.51:

Error: method.split is not a function

I was able to successfully run node-metamask with web3 version 1.0.0-beta.35. I have not yet tried to run it with any other versions between beta.35 and beta.51.

@ryanchristo ryanchristo added the bug Something isn't working label Mar 29, 2019
@rdig
Copy link
Member

rdig commented Mar 29, 2019

You might to not be able to actually update to the lastest web3

We had this in purser as well, and I resolved it by pinning web3 to 1.0.0-beta.36

The latest (at that time beta.43), at least in the browser environment, triggered a chrome extension safety check, and essentially broke Metamask.

See more here: JoinColony/purser#202

@ryanchristo ryanchristo added the help-wanted Extra attention is needed label Mar 29, 2019
@ryanchristo ryanchristo changed the title Update package to support the latest version of web3 Errors using package with the latest version of web3 Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants