Open CrossedCarpet opened 10 months ago
This is also documented in: https://www.npmjs.com/package/@project-serum/anchor
@project-serum/anchor depends on node.js native modules. Therefore, webpack 5 will not work with current version. You will either need to rollback to webpack 4, or use a polyfill for each missing dependency.
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: https://github.com/anza-xyz/wallet-adapter/pull/949
Is it just me or is this repo very poorly maintained?
@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:
Desktop (please complete the following information):