Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Uncaught SyntaxError: Cannot use import statement outside a module #10

@SuperCS92

Description

@SuperCS92

Hello,

Thank you very much for this tutorial. When adding ' import MetaMaskOnboarding from '@metamask/onboarding' on contract.js as appears in the index.js in the finished directory, the console throws this message ' Uncaught SyntaxError: Cannot use import statement outside a module '. It is not a problem with your code, but I can not run the tutorial because of this error. I'm assuming you are not having this problem or you solved it, either way, hope you can help, I don't know if I'm the only one having this problem.

I'm sorry if I'm misusing this channel, is the first issue I report.

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