Skip to content
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

Can't run package in a react project #19

Open
bircher044 opened this issue Feb 6, 2024 · 4 comments
Open

Can't run package in a react project #19

bircher044 opened this issue Feb 6, 2024 · 4 comments

Comments

@bircher044
Copy link

bircher044 commented Feb 6, 2024

Hi everyone! I was hoping to use Jito-sdk in my React project but facing this issue with one of the packages inside: photo_2024-02-06_03-12-06

Already tried to add:

"browser" :{
 "tls" : false,
 ...
}

to my package.json and it didnt help me. Also tried to use different node.js versions and still no success. Maybe someone could help with this?

@yyidota
Copy link

yyidota commented Apr 23, 2024

I also encountered such a problem. Is jito-ts unable to be referenced in front-end projects and can only be used in node services?

@bircher044
Copy link
Author

I also encountered such a problem. Is jito-ts unable to be referenced in front-end projects and can only be used in node services?

yes, you could resolve some modules but not everyone. My solution was to use a backend with jito for my frontend project

@kody435
Copy link

kody435 commented Nov 2, 2024

jito-ts is backend library which needs Nodejs runtime execution to be executing things correctly.

@21e8
Copy link

21e8 commented Nov 13, 2024

you might wanna try https://www.npmjs.com/package/jito-js-rpc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants