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
Failed to resolve entry forpackage "rc-field-form". The package may have incorrect main/module/exports specifiedin its package.json. [plugin vite:dep-pre-bundle]
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1225:21:
1225 │ let result = await callback({
╵ ^
This error came from the "onResolve" callback registered here:
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1150:20:
1150 │ let promise = setup({
╵ ^
The plugin "vite:dep-pre-bundle" was triggered by this import
node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/antd-mobile/es/components/form/index.js:6:34:
6 │ import { useWatch, useForm } from 'rc-field-form';
╵ ~~~~~~~~~~~~~~~
✘ [ERROR] Failed to resolve entry forpackage "rc-field-form". The package may have incorrect main/module/exports specifiedin its package.json. [plugin vite:dep-pre-bundle]
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1225:21:
1225 │ let result = await callback({
╵
This error came from the "onResolve" callback registered here:
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1150:20:
1150 │ let promise = setup({
╵ ^
The plugin "vite:dep-pre-bundle" was triggered by this import
node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/antd-mobile/es/components/form/form-subscribe.js:2:39:
2 │ import { FieldContext, useWatch } from 'rc-field-form';
╵ ~~~~~~~~~~~~~~~
✘ [ERROR] Failed to resolve entry forpackage "rc-field-form". The package may have incorrect main/module/exports specifiedin its package.json. [plugin vite:dep-pre-bundle]
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1225:21:
1225 │ let result = await callback({
╵ ^
This error came from the "onResolve" callback registered here:
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1150:20:
1150 │ let promise = setup({
╵ ^
The plugin "vite:dep-pre-bundle" was triggered by this import
node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/antd-mobile/es/components/form/form-array.js:2:31:
2 │ import { List as RCList } from 'rc-field-form';
╵ ~~~~~~~~~~~~~~~
✘ [ERROR] Failed to resolve entry forpackage "@rc-component/mini-decimal". The package may have incorrect main/module/exports specifiedin its package.json. [plugin vite:dep-pre-bundle]
node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1225:21:
1225 │ let result = await callback({
╵
The plugin "vite:dep-pre-bundle" was triggered by this import
node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/antd-mobile/es/components/form/form-item.js:5:22:
5 │ import { Field } from 'rc-field-form';
╵ ~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Version of antd-mobile
5.36.1
Operating system and its version
Others
Browser and its version
No response
Sandbox to reproduce
No response
What happened?
vite 5.2.0 + antd-mobile 5.36.1 报错
Relevant log output
The text was updated successfully, but these errors were encountered: