softwarecurator / svelte-wagmi

71 stars 8 forks source link

process is not defined #17

Closed xpluscal closed 3 months ago

xpluscal commented 3 months ago

When running the latest version I get the error "process is not defined" with basically any import from the package. Bummer, love your package!

hardingjam commented 3 months ago

When running the latest version I get the error "process is not defined" with basically any import from the package. Bummer, love your package!

I was able to fix this by adding in vite.config.ts

define: {
        "process.env": {}
    }
xpluscal commented 3 months ago

resolved thank you. @softwarecurator maybe we could add this to readme? thanks :)

softwarecurator commented 3 months ago

add this in 1.0.7 thanks for the help!