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

nextjs v13 global.css 报错 #6209

Closed
carlccy opened this issue Jun 16, 2023 · 2 comments
Closed

nextjs v13 global.css 报错 #6209

carlccy opened this issue Jun 16, 2023 · 2 comments
Labels

Comments

@carlccy
Copy link

carlccy commented Jun 16, 2023

Version of antd-mobile

5.30.0

Operating system and its version

Others

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

nextjs v13.4.4
antd-mobile 5.30.0

Relevant log output

Server Error
- error /node_modules/antd-mobile/cjs/global/global.css:1
:root {
^

SyntaxError: Unexpected token ':'

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
<unknown>
file:///Users/chencheng/Documents/workspace/h5-ssr/node_modules/antd-mobile/cjs/global/global.css (1)
@carlccy carlccy added the bug label Jun 16, 2023
@carlccy carlccy closed this as completed Jun 16, 2023
@carlccy carlccy reopened this Jun 16, 2023
@1587315093
Copy link
Contributor

看文档 https://mobile.ant.design/zh/guide/ssr

image

@zombieJ zombieJ closed this as completed Jul 7, 2023
@wulifangy
Copy link

看文档 https://mobile.ant.design/zh/guide/ssr↳

image

新的报错信息。。。
⨯ unhandledRejection: TypeError: (0 , _ahooks.createUpdateEffect) is not a function
at eval (webpack-internal:///./node_modules/antd-mobile/cjs/utils/use-isomorphic-update-layout-effect.js:7:72)

这个又知道的么

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

4 participants