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

Circular dependency detected #4455

Closed
entwicklerberg opened this issue Feb 8, 2022 · 2 comments
Closed

Circular dependency detected #4455

entwicklerberg opened this issue Feb 8, 2022 · 2 comments

Comments

@entwicklerberg
Copy link

Describe the bug

Circular dependency detected between lib/adapters/xhr.js --> lib/defaults.js and lib/defaults.js --> lib/adapters/xhr.js

To Reproduce

How I fix that problem

in lib/adapters/xhr.js

var transitional = config.transitional || defaults.transitional

change on

   var transitional = config.transitional || {
        silentJSONParsing: true,
        forcedJSONParsing: true,
        clarifyTimeoutError: false
      };

and remove in lib/adapters/xhr.js

 var defaults = require('../defaults');
@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2022

Hello! 👋

This issue is being automatically closed because it does not follow the issue template. Please read the issue template carefully and follow all of the instructions when opening a new issue.

Thanks

@github-actions github-actions bot closed this as completed Feb 8, 2022
@DigitalBrainJS
Copy link
Collaborator

#4220

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

2 participants