Closed RustySol closed 2 years ago
Hmm, can you try updating to newer packages? Several of these are outdated, and you're pinning the versions, which shouldn't happen because you'll end up with different versions of things. Try these instead, with ^
--
"@solana/wallet-adapter-ant-design": "^0.11.15",
"@solana/wallet-adapter-base": "^0.9.18",
"@solana/wallet-adapter-react": "^0.15.20",
"@solana/wallet-adapter-wallets": "^0.19.5",
Check out the Craco config in https://github.com/exiled-apes/candy-machine-mint/pull/231/files. You need to handle a bunch of modern JavaScript syntax transforms:
const config = {
babel: {
plugins: [
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-transform-shorthand-properties",
],
},
};
export default config;
Check out the Craco config in https://github.com/exiled-apes/candy-machine-mint/pull/231/files. You need to handle a bunch of modern JavaScript syntax transforms:
const config = { babel: { plugins: [ "@babel/plugin-proposal-nullish-coalescing-operator", "@babel/plugin-proposal-optional-chaining", "@babel/plugin-transform-shorthand-properties", ], }, }; export default config;
this works well! Thanks so much
Describe the bug
Im trying to upgrade the following packages from
to
Somehow I'm getting the following error
The thing that puzzled me is that when I check the file
./node_modules/@solana/wallet-adapter-phantom/node_modules/@solana/wallet-adapter-base/lib/esm/signer.js
there isn't code likebut
I wonder if thats some issue to do with webpack. I'm currently using craco with CRA4. Below is my craco configs.
Any idea is appreciated. Thanks!