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

Web3 is not defined - SOLVED #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RapidCompiler
Copy link

Fixed #11. I referenced the web3.min.js file in index.html. 'web3.js' is no longer present inside the dist folder of the web3 package in /node_modules. This seemed to resolve this issue.

The installation of the web3 npm package was also required. I've added this as a dependency in package.json.

The account to use by web3 now has to be specified inside the load function of app.js.

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

Successfully merging this pull request may close these issues.

Uncaught (in promise) ReferenceError: Web3 is not defined
1 participant