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
I used cli format or manually installed dependencies in the old project of next12, and the project always reported errors. \ nodeModules \ @ radio ui \ react batch \ dist \ index.mjs
Did you mean to import "react/jsx-runtime.js"?
Affected component/components
I used cli format or manually installed dependencies in the old project of next12, and the project always reported errors. \ nodeModules \ @ radio ui \ react batch \ dist \ index.mjs Did you mean to import "react/jsx-runtime.js"?
How to reproduce
1、This is an old project from next12, with a directory format of pages under src
2、Whether installed through CLI or manually, errors will be reported
Codesandbox/StackBlitz link
No response
Logs
node_modules\@radix-ui\react-slot\dist\index.mjs
Did you mean to import "react/jsx-runtime.js"?
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
at link (node:internal/modules/esm/module_job:86:36)
System Info
谷歌浏览器
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
I used cli format or manually installed dependencies in the old project of next12, and the project always reported errors. \ nodeModules \ @ radio ui \ react batch \ dist \ index.mjs
Did you mean to import "react/jsx-runtime.js"?
Affected component/components
I used cli format or manually installed dependencies in the old project of next12, and the project always reported errors. \ nodeModules \ @ radio ui \ react batch \ dist \ index.mjs Did you mean to import "react/jsx-runtime.js"?
How to reproduce
1、This is an old project from next12, with a directory format of pages under src
2、Whether installed through CLI or manually, errors will be reported
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: