-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors concerning new versions of wallet-adapter and create-react-app #1
Comments
Hello @rde9 ! Thanks for the issue and mail. I just did a fresh clone of repository, ran But if you are trying to update the dependencies, I would need some time to fix. I will message you back once I am ready with a fix. |
Just successfully completed the rest of steps with this repository. So |
@rde9 Maybe a bit late, but had the same problem with the, stream + crypto webpack issue. Quick fix for me was: node_modules > react-scripts > config > webpack.config.js Add this as a fallback in the resolve object:
|
Managed to completely solve this issue (for people using react-app, also if you do not have a custom webpack config): BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. ^ this issue is due webpack going to v5 and it breaks some modules. But we can override the default webpack config by following these steps:
|
In the commit anza-xyz/wallet-adapter@0c474c6 , getter functions like
getPhantomWallet
had been changed to adapters likePhantomWalletAdapter
. However, as I modifying these pieces of code to the latest style and runningnpm start
, it showed that:I refered this thread, changed
react-scripts
to^4.0.3
andnpm install
again (Btw this major update seems happened here facebook/create-react-app@0c72a32)Then another error emerged:
This was mentioned in anza-xyz/wallet-adapter#330 . But the solution is to change CRA4 to CRA5? Does it mean to change the
react-scripts
back? The situation looks hard for me as a beginner🤯... I need some help.The text was updated successfully, but these errors were encountered: