Skip to content
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

lerna + dumi + yarn workspace 拉包报错 [ERR_PACKAGE_PATH_NOT_EXPORTED] #1964

Open
cx91 opened this issue Nov 21, 2023 · 2 comments
Open

Comments

@cx91
Copy link

cx91 commented Nov 21, 2023

Version

2.2.14

OS Version

macOS 14.1.1

Node.js Version

16.19.0

Browser Version

Chrome 119.0.6045.159

Link to minimal reproduction

Steps to reproduce

yarn: 1.22.19
lerna: 7.4.2
拉包直接报错
image

What is expected?

拉包成功

What is actually happening?

拉包直接报错

Any additional comments? (optional)

lerna 6.4.1版本是对的,升级到7.4.2就报错了,但在lerna issues那边没有相关资料

@FrankXiong
Copy link

FrankXiong commented Apr 3, 2024

我也遇到了这个问题+1
pnpm@8.15.4、lerna@7.4.2、dumi,执行dumi build报错 Error: Package subpath './package.json' is not defined by "exports" in /xxx/node_modules/lerna/package.json

@cx91
Copy link
Author

cx91 commented Apr 3, 2024

我也遇到了这个问题+1 pnpm@8.15.4、lerna@7.4.2、dumi,执行dumi build报错 Error: Package subpath './package.json' is not defined by "exports" in /xxx/node_modules/lerna/package.json

不知道官方有关注到这个问题没,我只使用lerna拉包就没问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants