Build failed in ms-master #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Administrator@DESKTOP-0S5URRP MINGW64 ~/ms-master/ms
$ yarn build
yarn run v1.22.19
$ lerna run build
lerna notice cli v4.0.0
lerna info Executing command in 23 packages: "yarn run build"
@ccms/client: $ yarn clean && tsc
@ccms/compile: $ yarn clean && tsc
@ccms/nashorn: $ yarn clean && tsc
@ccms/molang: $ yarn clean && tsc
@ccms/protocol: $ yarn clean && tsc
@ccms/client: $ rimraf dist
@ccms/compile: $ rimraf dist
@ccms/nashorn: $ rimraf dist
@ccms/protocol: $ rimraf dist
@ccms/molang: $ rimraf dist
@ccms/common: $ yarn clean && tsc
@ccms/container: $ yarn clean && tsc
@ccms/i18n: $ yarn clean && tsc
@ccms/websocket: $ yarn clean && tsc
@ccms/nodejs: $ yarn clean && tsc
@ccms/common: $ rimraf dist
@ccms/container: $ rimraf dist
@ccms/i18n: $ rimraf dist
@ccms/nodejs: $ rimraf dist
@ccms/websocket: $ rimraf dist
@ccms/polyfill: $ yarn clean && tsc
@ccms/polyfill: $ rimraf dist
@ccms/websocket: src/socket.io-client/socket.ts(160,35): error TS2469: The '+' operator cannot be applied to type 'symbol'.
@ccms/websocket: src/socket.io/broadcast-operator.ts(142,33): error TS2731: Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.
@ccms/websocket: src/socket.io/namespace.ts(301,33): error TS2731: Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.
@ccms/websocket: src/socket.io/socket.ts(196,33): error TS2731: Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.
@ccms/websocket: error Command failed with exit code 2.
@ccms/websocket: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build exited 2 in '@ccms/websocket'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Like this
只是类型转换出错了 改成String(env)就好了