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

Uncaught SyntaxError: Unexpected identifier #6385

Open
claudineibr opened this issue May 8, 2024 · 1 comment
Open

Uncaught SyntaxError: Unexpected identifier #6385

claudineibr opened this issue May 8, 2024 · 1 comment

Comments

@claudineibr
Copy link

Describe the bug

My application uses webview, but with the device version below it simply does not go up. I tried it with all versions after 1.0.0 and none of them work. Version 0.28.1 works without problems

image

image

To Reproduce

No response

Code snippet

No response

Expected behavior

No response

Axios Version

=1.0.0

Adapter Version

No response

Browser

Chrome webview mobile

Browser Version

UA: Mozilla/5.0 (Linux; Android 5.1.1; APOS A8OVS Build/LMY47V; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/52.0.2743.100 Mobile Safari/537.36

Node.js Version

v18.16.0

OS

APOS A8 Android 5.1.1

Additional Library Versions

"axios": "1.6.8",
    "howler": "^2.2.3",
    "lodash": "^4.17.21",
    "memoize-one": "^5.2.1",
    "prop-types": "^15.8.1",
    "query-string": "5.1.1",
    "react": "^16.14.0",
    "react-dom": "^16.14.0",
    "react-helmet": "^6.1.0",
    "react-input-mask": "^2.0.4",
    "react-intl": "5.24.8",
    "react-jss": "10.6.0",
    "react-redux": "^7.2.9",
    "react-slideshow-image": "^1.5.0",
    "react-virtualized": "^9.22.2",
    "react-vis": "^1.11.7",
    "redux": "^4.1.2",
    "redux-promise": "^0.6.0",
    "redux-saga": "^1.2.0",
    "styled-components": "^5.3.11"

Additional context/Screenshots

No response

@DigitalBrainJS
Copy link
Collaborator

Android 5.1.1

As you can see, Axios 1.x is written in ECMA 2017 so you need to transpile your bundle for use on legacy platforms.

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