Skip to content

Nuxt3 vite jayson error,help... #1117

Description

@JameHome

Describe the bug
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/jayson@4.2.0_bufferutil@4.0.9_utf-8-validate@5.0.10/node_modules/jayson/lib/client/browser/index.js?v=d7ef95e3' does not provide an export named 'default'

To Reproduce
nuxt 3.17.6
node v22
pnpm 10.12.4

Expected behavior
//config/solana.ts

import { PhantomWalletAdapter } from '@solana/wallet-adapter-wallets';
export const solanaWallets = [
new PhantomWalletAdapter(),
]

//
Screenshots

github
https://github.com/JameHome/nuxt3-multichain-dapp

demo
https://stackblitz.com/github/JameHome/nuxt3-multichain-dapp?file=README.md

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