N
Nuxt2y ago
bnason

Import errors

I'm getting an error trying to use ts-results https://github.com/vultix/ts-results I'm using import { Ok, Err, Result } from 'ts-results' but I get an error on the console Named export 'Err' not found. it looks like it's trying to load it as a CommonJS module even though it has an ESM version available in the package. Is there anyway to get it to load that correctly?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server