Skip to content

Doesn't work #1

@luigi25

Description

@luigi25

I insert all contract data (es ABI, address, ecc) in index.js and i import this file in index.html instead of umb.min.js (i tried also with this one recreating it from webpack but doesn't work).
I want to use the index.js to debug the code and see if there are some problems in it, but the fact is that the import from node_modules of Web3, Web3Modal, { isMobile }, WalletConnectProvider in this javascript causes me this error: "Uncaught TypeError: Failed to resolve module specifier "web3". Relative references must start with either "/", "./", or "../"."
I don't know how to fix, i try in a lot of ways.
Let me know, thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions