Hi we have setup the metronic react theme demo4 and purpose of the theme was downloaded for crypto project.
For my project we have installed below npm package
"@solana/spl-token": "^0.2.0",
"@solana/wallet-adapter-base": "^0.9.5",
"@solana/wallet-adapter-react": "^0.15.4",
"@solana/wallet-adapter-react-ui": "^0.9.6",
"@solana/wallet-adapter-wallets": "^0.15.5",
"@solana/web3.js": "^1.37.0",
we are getting below error when we import and use this package.
./node_modules/@solana/wallet-adapter-react-ui/lib/esm/WalletModal.mjs
Can't import the named export 'WalletReadyState' from non EcmaScript module (only default export is available)
And we have explored on google about this issue and most of them said to setup/ configure the webpack to add module rule. Tried this also but no look to fix it.
Can you help me to fix this issue and provide solution to add and use package functionality in metronic code.
i'm looking for solution from you.
Thanks,
Siva
However, if the error persists, seeking assistance from the Solana community or consulting their documentation for troubleshooting tips may provide further insights. Furthermore, considering the reliability and stability of BNB nodes, you might explore using Binance Smart Chain (BSC) infrastructure to support your project's blockchain needs. BNB nodes offer robustness and scalability, making them a reliable choice for decentralized applications and financial services. By leveraging the secure and decentralized infrastructure provided by bnb nodes, you can enhance the performance and reliability of your blockchain-related projects.
Hi,
Try to write authors of the lib about this issue, cause it's not related to our code at all. We use standard CreactReactApp for React applications and don't have another custom settings for apps.
Regards,
Keenthemes support