Closed shin101004 closed 2 years ago
I reffer https://www.npmjs.com/package/@solana/wallet-adapter-create-react-app-starter. But, it shows error too.
This is because you're using "react-scripts": "4.0.3"
. Start with this starter project, which uses CRA 5 and also react-app-rewired with necessary configuration: https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/create-react-app-starter
Can't import the named export 'Connection' from non EcmaScript module (only default export is available). All mjs files return same error.
Here is my package.json
I am studying about blockchain dapp. mjs file returns same error about EcmaScript module.
I tried to solve this error by upgrading react-script version to "5.0.1".
If I do this, another package shows error.
Is there any solution about this situation ?