-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] yarn pnp 模式 运行异常 #12610
Comments
为啥用 Yarn + Pnp?要不换 Pnpm? |
主要是通过 pnp 模式 使用 zero-installs |
您找到解決方案了嗎? |
暂时还没有 |
框架里用了 resolve 包,这个包可能不支持
packageExtensions:
"@umijs/plugins@*":
dependencies:
"@umijs/utils": "*"
"@umijs/openapi@*":
dependencies:
"@umijs/utils": "*"
"tslib": "*"
"@umijs/request-record@*":
dependencies:
"@umijs/utils": "*"
"@ant-design/pro-provider@*":
dependencies:
"dayjs": "*"
"@ant-design/pro-card@*":
dependencies:
"@ant-design/cssinjs": "*"
"@ant-design/pro-table@*":
dependencies:
"@ant-design/cssinjs": "*"
"@ant-design/pro-form@*":
dependencies:
"rc-field-form": "*"
"@ant-design/pro-layout@*":
dependencies:
"@ant-design/cssinjs": "*"
"@ant-design/pro-list@*":
dependencies:
"@ant-design/cssinjs": "*"
"@ant-design/pro-provider": "*" 执行 强制解压包 yarn unplug react
yarn unplug react-dom
yarn unplug antd 进入
|
What happens?
yarn pnp 模式 运行异常
Mini Showcase Repository(REQUIRED)
How To Reproduce
react-ui
目录yarn set version stable
yarn install
react-ui/config/config.ts
文件presets: ['umi-presets-pro']
为presets: [require.resolve('umi-presets-pro')]
yarn run dev
Context
4.3.10
20.16.0
4.3.1
wsl 2 ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: