-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
I am using SvelteKit. Just a basic SvelteKit template is good enough for reproducing this issue.
If the line of import below appears in the +page.svelte file, it will cause error.
import { createUmi } from '@metaplex-foundation/umi-bundle-defaults';The error
TypeError: import_os.homedir is not a function
It can be traced back to SolanaCliConfig from @soceanfi/solana-cli-config imported by umi-addsa-web3js. I don't understand why SolanaCliConfig is needed for a client side library or why it is being included in the client side code.
Metadata
Metadata
Assignees
Labels
No labels