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

Fix sample React app [0.75 XMR] #244

Closed
woodser opened this issue Aug 30, 2024 · 2 comments
Closed

Fix sample React app [0.75 XMR] #244

woodser opened this issue Aug 30, 2024 · 2 comments
Labels
💰bounty There is a bounty on this issue

Comments

@woodser
Copy link
Owner

woodser commented Aug 30, 2024

This issue requests fixing the sample React app.

Currently when running the app, this error occurs invoking networking requests through Axios in the monero-ts library:

Error: Request failed without response: POST https://moneronode.org:18081/json_rpc due to underlying error:
_axios.default.request is not a function
TypeError: _axios.default.request is not a function
    at HttpClient.axiosDigestAuthRequest (http://localhost:3000/static/js/bundle.js:36725:27)
    at http://localhost:3000/static/js/bundle.js:36690:22

Installing Axios and making requests directly within the app works as expected.

Essentially default is being appended to axios.default.request when used through the library, which isn't defined.

Possibly related issue: axios/axios#5044

@woodser woodser added the 💰bounty There is a bounty on this issue label Aug 30, 2024
Copy link

There is a bounty on this issue. The amount is in the title. The reward will be awarded to the first person or group of people who resolve this issue.

If you are starting to work on this bounty, please write a comment so that we can assign the issue to you. We expect contributors to provide a PR in a reasonable timeframe or, in case of an extensive work, updates on their progress. We will unassign the issue if we feel the assignee is not responsive or has abandoned the task.

Read the full conditions and details of the bounty system.

@woodser woodser changed the title Fix sample React app [0.5 XMR] Fix sample React app [0.75 XMR] Aug 30, 2024
@woodser
Copy link
Owner Author

woodser commented Sep 1, 2024

Issue is resolved with woodser/xmr-sample-react#2

@woodser woodser closed this as completed Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💰bounty There is a bounty on this issue
Projects
None yet
Development

No branches or pull requests

1 participant