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
I use browserify in order to use solc in the browser.
I have the most simple setup and run the most simple command browserify index.js -o bundle.js.
I have this error:
Uncaught TypeError: soljson.cwrap is not a function
at setupMethods (bundle.js:9753)
at Object.39../soljson.js (bundle.js:9599)
at s (bundle.js:1)
at bundle.js:1
at Object.1.solc (bundle.js:3)
at s (bundle.js:1)
at e (bundle.js:1)
at bundle.js:1
The text was updated successfully, but these errors were encountered:
It is very likely not possible, but at least not practical, to browserify index.js, because that will load an Emscripten compiled Solidity of around 10Mb size. Instead, browserifiy wrapper.js, load a Solidity compiler (ones found in the solc-bin repo) and pass it to the wrapper.
Hello,
I use browserify in order to use solc in the browser.
I have the most simple setup and run the most simple command
browserify index.js -o bundle.js
.I have this error:
The text was updated successfully, but these errors were encountered: