ant-design/ant-design-mobile

an error occurred when I start a ant mobile project.

Opened this issue · 1 comments

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

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