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
Including dist/web3.min.js on a page causes error in console ReferenceError: regeneratorRuntime is not defined. This is the downloaded source from releases.
Expected behavior
There will be no errors when including the file.
Actual behavior
Error shows up in console ReferenceError: regeneratorRuntime is not defined. Web3 does not work.
Steps to reproduce the behavior
Create html file. Put this script tag in: <script type="text/javascript" src="web3.min.js"></script>
Error Logs
ReferenceError: regeneratorRuntime is not defined
Gists
None
Versions
web3.js: 1.2.1
browser: Firefox 68.0.2
Note: I do not get this error in 1.2.0
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue! Downloading of the published package from NPM and bundling it with webpack does work. I will update the dist file here on GitHub asap.
Edit:
The error is coming from the buffer dependency.
Description
Including dist/web3.min.js on a page causes error in console
ReferenceError: regeneratorRuntime is not defined
. This is the downloaded source from releases.Expected behavior
There will be no errors when including the file.
Actual behavior
Error shows up in console
ReferenceError: regeneratorRuntime is not defined
. Web3 does not work.Steps to reproduce the behavior
Create html file. Put this script tag in:
<script type="text/javascript" src="web3.min.js"></script>
Error Logs
ReferenceError: regeneratorRuntime is not defined
Gists
None
Versions
Note: I do not get this error in 1.2.0
The text was updated successfully, but these errors were encountered: