You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server render bundle error, try client render, the server render error D:\项目\node_modules\antd-mobile\cjs\global\global.css:1
:root {
^
SyntaxError: Unexpected token ':'
at compileFunction ()
at Object.compileFunction (node:vm:360:18)
at wrapSafe (node:internal/modules/cjs/loader:1124:15)
at Module._compile (node:internal/modules/cjs/loader:1160:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Object.require.extensions. [as .js] (D:\项目\node_modules\ts-node\src\index.ts:431:14)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
The text was updated successfully, but these errors were encountered:
ghost
changed the title
在egg.js服务端项目编译失败
在egg.js ssr项目编译失败,无法识别global.css文件的 :root
Nov 18, 2023
ghost
changed the title
在egg.js ssr项目编译失败,无法识别global.css文件的 :root
在egg.js ssr项目编译失败,无法识别global.css文件的 :root 伪类,请问如何解决?
Nov 18, 2023
Version of antd-mobile
5.33.0
Description
server render bundle error, try client render, the server render error D:\项目\node_modules\antd-mobile\cjs\global\global.css:1
:root {
^
SyntaxError: Unexpected token ':'
at compileFunction ()
at Object.compileFunction (node:vm:360:18)
at wrapSafe (node:internal/modules/cjs/loader:1124:15)
at Module._compile (node:internal/modules/cjs/loader:1160:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Object.require.extensions. [as .js] (D:\项目\node_modules\ts-node\src\index.ts:431:14)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
The text was updated successfully, but these errors were encountered: