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

run antd-migration-helper error Under the Apple M1 chip #14

Open
Cheney2021 opened this issue Dec 20, 2022 · 0 comments
Open

run antd-migration-helper error Under the Apple M1 chip #14

Cheney2021 opened this issue Dec 20, 2022 · 0 comments

Comments

@Cheney2021
Copy link

/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:6462
throw jsxError || err;
^

SyntaxError: Unexpected token (54:27)
at pp$5.raise (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:4454:13)
at pp.unexpected (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:1761:8)
at pp$9.jsxParseIdentifier (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7029:10)
at pp$9.jsxParseNamespacedName (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7040:19)
at pp$9.jsxParseElementName (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7055:19)
at pp$9.jsxParseOpeningElementAt (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7145:20)
at pp$9.jsxParseElementAt (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7169:29)
at pp$9.jsxParseElement (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7224:15)
at Parser.parseExprAtom (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:7236:21)
at pp$3.parseExprSubscripts (/opt/homebrew/lib/node_modules/antd-migration-helper/node_modules/babylon/lib/index.js:3494:19) {
pos: 2470,
loc: Position { line: 54, column: 27 }
}

Node.js v19.1.0

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