Skip to content

Unable to import package #53

@michecode

Description

@michecode

Hey, trying to use the package with web3modal but I'm unable to import it at all. Using it with gatsby, react, and node 16. Notably, the app runs fine if I yarn dev and then edit the file to import it. Running yarn dev with it imported gives errors similar to the one below

Module parse failed: Unexpected token (1:10)
You may need an appropriate loader to handle this file type, currently no
loaders are configured to process this file. See
https://webpack.js.org/concepts#loaders
> {"version":3,"file":"cli.js","mappings":";CAAA,SAAUA,iCAAiCC,EAAMC,GAC1B,iBAAZ
C,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,+BAAgCA,QAAQ,UAAWA,QAAQ,YAAaA,QAAQ, ..........

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions