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

an error occurred when I start a ant mobile project. #6544

Open
lihong1232 opened this issue Feb 8, 2024 · 1 comment
Open

an error occurred when I start a ant mobile project. #6544

lihong1232 opened this issue Feb 8, 2024 · 1 comment
Labels

Comments

@lihong1232
Copy link

Version of antd-mobile

5.34.0

Operating system and its version

Others

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

Server Error
SyntaxError: Unexpected token ':'

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack

file:///C:/work/myfirstnext/next-create/node_modules/antd-mobile/cjs/global/global.css (1)

Relevant log output

No response

@lihong1232 lihong1232 added the bug label Feb 8, 2024
@thezetrax
Copy link

encountering the same issue, not sure what is missing from the project. I added a global.css to the root of the project but nothing is is fixed, Is Antd expecting to have a global.css file in the root of the project?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants