-
Notifications
You must be signed in to change notification settings - Fork 960
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
Wallet Adapter For Solana Example doesn't work out of the box with create-react-app #843
Comments
This is also documented in: https://www.npmjs.com/package/@project-serum/anchor
|
Shouldn't the starer app be updated accordingly? I also arrived here today after cloning the starter app as a place to start, only to find it doesn't work. Update: Seems to work if you use yarn instead of NPM, selecting the latest package versions. |
@acoutts this starter app is even in worse shape now. I've been trying to get the create-react-app-starter to work for two weeks and still have compile errors because someone changed the function TransportRaceCondition to TransportPendingOperation. There is a fix here, except it doesn't work because like you I have to use Yarn otherwise the dependencies don't get installed: #949 Is it just me or is this repo very poorly maintained? |
nah it is poorly maintained. not sure how solana went up 30% th last 2 weeks. pretty sure the normies dont know how much of a scattered mess Solana documentation is. lol |
Describe the bug
Adding Wallet Adapter for Solana in a project created with create-react-app introduces 6 errors related to missing modules. Example message:
To Reproduce
Steps to reproduce the behavior:
$ npx create-react-app walletadapter --template typescript $ cd walletadapter $ npm i @solana/wallet-adapter-react @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/wallet-adapter-react-ui @solana/wallet-adapter-react-ui $ npm run start
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: