You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I pass a privateUrl to the Web3Quorum constructor in the browser, the url dependency fails here.
I checked the dependencies of web3js-quorum and there is no "url" defined.
After checking my project's dependencies, I see that it react-scripts transitively adds [email protected].
This is probably not the dependency Web3Quorum should be using because it does not have any constructor (you should use Url.parse() instead).
I see different solutions:
Adding the original dependency to Web3Quorum.
Using [email protected] and explicitly defining it as Web3Quorum's dependency
Use a package like universal-url or iso-url to rely on browser's URL implementation whenever it is possible and to use a different implementation on NodeJS. For example:
Sorry unrelated request, but did you solved this? @gomezgoiri ?
Also could you please post a short guide, how to build web3js-quorum for browser? Can't make it work.
When I pass a privateUrl to the Web3Quorum constructor in the browser, the url dependency fails here.
I checked the dependencies of web3js-quorum and there is no "url" defined.
After checking my project's dependencies, I see that it react-scripts transitively adds [email protected].
This is probably not the dependency Web3Quorum should be using because it does not have any constructor (you should use Url.parse() instead).
I see different solutions:
Adding the original dependency to Web3Quorum.
Using [email protected] and explicitly defining it as Web3Quorum's dependency
The text was updated successfully, but these errors were encountered: