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
Require cycle: node_modules/axios/lib/defaults.js #4177
Comments
@jasonsaayman any help would be appreciated. Thanks |
Please try with 0.23 |
@jasonsaayman I've upgraded to 0.23 and the warning is still there. |
@jasonsaayman Same question with 0.23.0 (!) Circular dependencies 0.21.4 works fine |
I'm running into the same circular import using rollup. Looks like it's the requires in getDefaultAdapter(). |
Same here |
is there any fix to this yet? I run into the same warning |
Is this only when using rollup? |
Warning also exists in Metro for react-native |
I think it appeared in v0.22 Looks like this warning can be ignored - defaults needed only for that line Anyway it is annoying and can lead to uninitialized values. |
These are just warnings, not errors, and since all cross-references are properly initialized, they can be ignored. But anyway #4220 |
Good news if this can be fixed ! |
Sorry, can you tell me, how do I update that version? |
just comment this line |
just comment the |
Any status on this? |
Try axios Version |
😫 |
v 0.21.4 still not working on svelte or the newer |
Pull request by @DigitalBrainJS has been merged, this will be in the new release |
which version? Currently I am using "axios": "^0.26.0", but Still remain that problem... How can I fix this problem? |
This will be in v1, the current version that is being worked on |
@Marko0513 He means the version is not released yet. |
Ok, @wjaykim got it. |
I will try release a minor version with this in this week |
Hello, @jasonsaayman |
@Marko0513 you need to use https://github.com/axios/axios/releases/tag/v0.26.1 |
okay, really thanks for notify, can I install with npm or I will download the module with manual? |
@Marko0513 can be installed via npm |
Describe the bug
Require cycle: node_modules/axios/lib/defaults.js -> node_modules/axios/lib/adapters/xhr.js -> node_modules/axios/lib/defaults.js
To Reproduce
update the axios to latest version 0.22.0 and the warning occur
Environment
how to remove this warning? It came every time I refresh.
The text was updated successfully, but these errors were encountered: