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

I am getting a error involving CancelToken.js... #6354

Open
cwhite004 opened this issue Apr 16, 2024 · 0 comments
Open

I am getting a error involving CancelToken.js... #6354

cwhite004 opened this issue Apr 16, 2024 · 0 comments

Comments

@cwhite004
Copy link

Describe the issue

I am trying to use Axios and I'm getting an error saying the cancelToken.js can't be found and I don't know how to fix it since it is something the documentation is saying is deprecated.

ill attach a screen shot of the error
Screenshot 2024-04-16 031810

Example Code

const path =  '/api/products';
let results = await axios.get(path);
const tempProducts = results.data;
this.products = tempProducts;

Expected behavior

No response

Axios Version

^1.6.8

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

v16.17.0

OS

No response

Additional Library Versions

No response

Additional context/Screenshots

No response

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

1 participant