arco-design / arco-design-pro-vue

An out-of-the-box solution to quickly build enterprise-level applications based on Arco Design.
https://pro.arco.design
MIT License
1.38k stars 280 forks source link

Error: [plugin vite:dep-pre-bundle] failed to resolve entery for package "@intlify/shared" #334

Closed HappyXuan closed 1 year ago

HappyXuan commented 1 year ago

基本信息

额外补充

error message: [ERROR] [plugin vite:dep-pre-bundle] Failed to resolve entry for package "@intlify/shared". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." entry in "@intlify/shared" package

预期结果

After the project dependency installation is complete, it should start smoothly.

复现步骤

After creating a project using acro-cli, enter the project and obtain the dependency through pnpm. During startup, an error message is displayed.

HappyXuan commented 1 year ago

Node Version: 18.17.1 pnpm Version: 8.7.4. And I found that in nodejs 16.x, the bug disappears.

ohhusr commented 1 year ago

我们遇到了相同错误,解决方案见 https://github.com/arco-design/arco-design-pro-vue/issues/335#issue-1885165563

HappyXuan commented 1 year ago

我们遇到了相同错误,解决方案见 https://github.com/arco-design/arco-design-pro-vue/issues/335#issue-1885165563

好的, 感谢您.