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

RefferenceError: Axios is not defined. #6350

Closed
ScottDurkin opened this issue Apr 12, 2024 · 2 comments
Closed

RefferenceError: Axios is not defined. #6350

ScottDurkin opened this issue Apr 12, 2024 · 2 comments

Comments

@ScottDurkin
Copy link

Describe the bug

I am debugging my code and on refresh, axios stopped working. I thought there was a problem in my code but when I went to my live server application, I get the same error.

Reference I am using (for the past 2 years)

<script src="https://unpkg.com/axios/dist/axios.min.js"></script>

image

To Reproduce

Open web application that uses axios with this script include.

<script src="https://unpkg.com/axios/dist/axios.min.js"></script>

Code snippet

<script src="https://unpkg.com/axios/dist/axios.min.js"></script>

Expected behavior

axios api calls should be working.

Axios Version

No response

Adapter Version

No response

Browser

No response

Browser Version

No response

Node.js Version

No response

OS

WIndows 10

Additional Library Versions

No response

Additional context/Screenshots

No response

@ScottDurkin
Copy link
Author

unpkg.com seems to be offline.
image

@maddyexplore
Copy link

<script src="https://cdn.jsdelivr.net/npm/axios@1.6.7/dist/axios.min.js"></script> works

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