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
VITE v5.1.4 ready in 148 ms
➜ Local: http://localhost:9090/
➜ Network: use --host to expose
➜ press h enter to show help
✘ [ERROR] Could not resolve "@babel/runtime/helpers/esm/classCallCheck"
../../node_modules/.pnpm/antd@5.14.2_react-dom@18.2.0_react@18.2.0/node_modules/antd/es/alert/ErrorBoundary.js:3:28: 3 │ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/esm/classCallCheck" as external to exclude it from
the bundle, which will remove this error and leave the unresolved path in the bundle.
✘ [ERROR] Could not resolve "@babel/runtime/helpers/esm/toConsumableArray"
../../node_modules/.pnpm/antd@5.14.2_react-dom@18.2.0_react@18.2.0/node_modules/antd/es/watermark/index.js:3:31:
3 │ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/esm/toConsumableArray" as external to exclude it
from the bundle, which will remove this error and leave the unresolved path in the bundle.
✘ [ERROR] Could not resolve "@babel/runtime/helpers/esm/toConsumableArray"
../../node_modules/.pnpm/antd@5.14.2_react-dom@18.2.0_react@18.2.0/node_modules/antd/es/cascader/index.js:3:31:
3 │ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/esm/toConsumableArray" as external to exclude it
from the bundle, which will remove this error and leave the unresolved path in the bundle.
✘ [ERROR] Could not resolve "@babel/runtime/helpers/esm/toConsumableArray"
../../node_modules/.pnpm/antd@5.14.2_react-dom@18.2.0_react@18.2.0/node_modules/antd/es/modal/useModal/index.js:3:31:
3 │ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/esm/toConsumableArray" as external to exclude it
from the bundle, which will remove this error and leave the unresolved path in the bundle.
Reproduction link
https://github.com/liuweiGL/antd-babel_runtime
Steps to reproduce
What is expected?
能正常运行
What is actually happening?
编译报错:
15c2051 提交不知道为什么把 @bable/runtime 移除了
The text was updated successfully, but these errors were encountered: