We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been trying to get this working for hours now but I keep running into one issue after another.
What is the recommended way to install fetch globally so that this package works? It seems that
fetch
import {fetch as fetchPolyfill} from 'whatwg-fetch'; global.fetch = fetchPolyfill;
in my index.js file is the only thing that works, which then gives me a Require cycle: error that can't be dismissed..
Require cycle:
Even after I do this when I copy and paste the code from the example i just get a TypeError: Network request failed error.
TypeError: Network request failed
Unfortunately there isn't much info in the logs to tell me whats going on here.
I'm happy to provide any other info to get this figured out!
The text was updated successfully, but these errors were encountered:
It seems that this was an error with the provider being passed a different connection.
Now I'm getting a different error though:
Error: Token mint does not exist in token-mints.json
When logging the jupiter variable to the console it says 'INITIALIZE_ERROR'
Sorry, something went wrong.
If I change to mainnet-beta instead of devnet i get a different error still:
mainnet-beta
devnet
TypeError: Cannot read properties of undefined (reading 'SWAP_PROGRAM_ID')
No branches or pull requests
I've been trying to get this working for hours now but I keep running into one issue after another.
What is the recommended way to install
fetch
globally so that this package works? It seems thatin my index.js file is the only thing that works, which then gives me a
Require cycle:
error that can't be dismissed..Even after I do this when I copy and paste the code from the example i just get a
TypeError: Network request failed
error.Unfortunately there isn't much info in the logs to tell me whats going on here.
I'm happy to provide any other info to get this figured out!
The text was updated successfully, but these errors were encountered: