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

missing typedarray-to-buffer after npm install... #47

Closed
gskapka opened this issue Jan 25, 2019 · 6 comments
Closed

missing typedarray-to-buffer after npm install... #47

gskapka opened this issue Jan 25, 2019 · 6 comments
Assignees
Labels

Comments

@gskapka
Copy link
Contributor

gskapka commented Jan 25, 2019

Per title. Seems to be affecting all the Truffle examples recently.

@gskapka
Copy link
Contributor Author

gskapka commented Jan 25, 2019

& also yaeti packaged after that too.

Possibly need to make sure the package json only specifies exact versions of packages.

@riccardopersiani
Copy link
Contributor

riccardopersiani commented Jan 25, 2019

I wasn't able to replicate the error with the following:

Truffle v5.0.0-next.17 (core: 5.0.0-beta.1)
Solidity v0.5.0 (solc-js)
Node v10.6.0

truffle(develop)> web3.version
'1.0.0-beta.36'

@riccardopersiani
Copy link
Contributor

Following the truffle-examples/diesel-price tutorial, I experienced a duplicate module error with bitcore-lib.

Solved with these commands from the truffle-examples/diesel-price folder :

cd node_modules
rm ethereum-bridge
git pull https://github.com/oraclize/ethereum-bridge
cd ethereum-bridge 
npm install

@riccardopersiani
Copy link
Contributor

Other issue from the support-channel, following the npm install of typedarray-to-buffer and yoeti:

Contract: Diesel Price Tests
TypeError: this.dispatchEvent is not a function
at W3CWebSocket.onConnect (/Users/******/Desktop/oracle_test/ethereum-examples/solidity/truffle-examples/diesel-price/node_modules/web3-providers-ws/node_modules/websocket/lib/W3CWebSocket.js:208:10)

@riccardopersiani riccardopersiani changed the title missing typed-array-to-buffer after npm install... missing typedarray-to-buffer after npm install... Jan 25, 2019
@riccardopersiani
Copy link
Contributor

Seems to be an error related to web3. Will be solved in the web3 PR #2000 with web3@1.0.0-beta.28. Hopefully, Truffle will integrate it soon.

@riccardopersiani
Copy link
Contributor

Fixed in PR #48

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

No branches or pull requests

2 participants