-
Notifications
You must be signed in to change notification settings - Fork 20
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
No matching export in "node_modules/@ledgerhq/errors/lib-es/index.js" for import "TransportRaceCondition" #3
Comments
Hmmm well I added I can connect my phantom wallet and it correctly reads the address. It also correctly reads the value of the count in the solana on chain program. But when I click the increment button, nothing happens. Here is what my dev tools console shows when I click increment:
Also for some reason my background is white not gray like in Mr Raza @AlmostEfficient tutorial video |
I redeployed my smart contract and all is good. You are a rock star @AlmostEfficient ! Thank you again for your amazing videos! |
can you like, please source what he did that helped you fix this A LOT of people are having this same error and 6 hours later I still can't fix it. |
I got you.
Add line:
Done |
Also, after updating it like stated, i have a weird issue now with the
tsconfig files, tho they are clearly formatted correctly project says they
aren’t.
…On Sun, May 19, 2024 at 4:04 AM gameuser1982 ***@***.***> wrote:
Goto:
***@***.******@***.***/errors/lib-es/index.js
I got you.
Goto: ***@***.***/errors/lib-es/index.js
Add line:
export const TransportRaceCondition =
createCustomErrorClass("TransportPendingOperation");
Done
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APRPH2LYVI4IXCRUSYSRZYLZDCBM5AVCNFSM6AAAAABH5KSWT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE4TGOBXG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
also, people keep saying this break on production, I'm making a website ready widget, so I NEED it to not randomly break when customers are trying to connect wallet and buy a token fml. So many issues with solana development dawg.. lol |
For fucking real! I am not sure about your production concerns, but that obviously makes me concerned too. I will be dealing with mainnet deployment soon too. Is there a discord anywhere where we can all like collaborate and try to figure this out? Because like for real the Solana documentation is sloppy and so is the maintenance of critical repos. Volunteers like @AlmostEfficient are doing an awesome job picking up the slack, but it's ridiculous how badly maintained critical software is for such a financially successful blockchain. |
Broskis if you're making a token swap page use the Jupiter terminal embed instead, it's much less work and won't break in prod https://station.jup.ag/docs/jupiter-terminal/jupiter-terminal I wish I could be of more help here but I'm currently on vacation without my computer. |
@AlmostEfficient no worries man! Enjoy your vacation! |
I'm making a ICO widget. not a token swapper. |
This will fix your development environment but break your application when you build for other environments. If compatible, you can try package override with a previous version. Nevertheless, I suggest setting up a local npm repository now that your @LedgerHQ package uses the code with the fix and later updating your local npm repo as necessary. However, this is a symptom of a major problem with the Solana dev ecosystem. |
I am getting the following error with the frontend when I run using yarn dev:
The fix listed below here doesn't work for yarn:
anza-xyz/wallet-adapter#949
Someone suggested an alternative fix that I will try:
Goto:
node_modules/@ledgerhq/hw-transport/node_modules/@ledgerhq/errors/lib-es/index.js
Add line:
export const TransportRaceCondition = createCustomErrorClass("TransportPendingOperation");
This is an open issue for a few weeks, I wonder why nobody else experienced this? I didn't notice this issue in the tutorial video either. I appreciate what you are doing for us Mr Raza!
The text was updated successfully, but these errors were encountered: