Replies: 2 comments 2 replies
-
node 版本太低吧。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
請問各位先進,小弟最近才接觸midwayJS,我創建了第一個應用後想要測試二进制文件部署,當我構建完後要去啟動程序時卻出現了以下錯誤,一直都無法解決,在此請教大家是否有遇到此問題?感激不盡~~
C:\snapshot\asys-midway\node_modules@midwayjs\core\dist\util\camelCase.js:4
const UPPERCASE = /[\p{Lu}]/u;
^^^^^^^^^^^
SyntaxError: Invalid regular expression: /[\p{Lu}]/: Invalid property name in character class
at Object.compileFunction (node:vm:355:18)
at wrapSafe (node:internal/modules/cjs/loader:1040:15)
at Module._compile (node:internal/modules/cjs/loader:1076:27)
at Module._compile (pkg/prelude/bootstrap.js:1933:32)
at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:834:12)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at Module.require (pkg/prelude/bootstrap.js:1851:31)
at require (node:internal/modules/cjs/helpers:102:18)
Beta Was this translation helpful? Give feedback.
All reactions