-
Notifications
You must be signed in to change notification settings - Fork 8
Error TypeError: Cannot read property 'bind' of undefined
when specifying your own provider in truffle.js
#12
Comments
I also see this error when I have:
Using Eh, after more poking it seems that My version of Web3 that I can run independently of truffle is: ^1.0.0-beta.30 More poking, the provider is supposed to have a send method Provider.create() which also "wraps" the provider. Wrapper expects OK, so my first problem was that
The problem I think is that the module
Something isn't right here . . . Version 0.19.0 I still have to reference
Both methods do exist in
|
@nosuchip here's a summary of what I've found:
My personal problem is now: Occurs when calling
Which happens here: https://github.com/trufflesuite/truffle-provider/blob/develop/wrapper.js#L69 -_- |
OK, I've got this fixed for myself: it's pretty much what @nosuchip is doing in his first comment, but on version |
truffle-provider/wrapper.js
Line 26 in b9ed5a0
Prerequisites: having node that serves JSON RPC on secured port (HTTPS).
When specifyng provider following way got error:
The text was updated successfully, but these errors were encountered: