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
PR #9746 add import of Assumptions but not support in node by default:
fatal - Error: Cannot use import statement outside a module
import { Assumptions } from "./assumptions";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:76:[18])
at wrapSafe (node:internal/modules/cjs/loader:1283:20)
at Module._compile (node:internal/modules/cjs/loader:1328:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
Describe the bug
PR #9746 add import of
Assumptions
but not support in node by default:It can be reproduce with
bun install
:Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://github.com/ant-design/ant-design/actions/runs/11945315620/job/33297778540
SWC Info output
No response
Expected behavior
Work as prev version.
Actual behavior
No response
Version
0.1.16
Additional context
No response
The text was updated successfully, but these errors were encountered: