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

Problem with yarn berry workspace #36

Open
yowpark opened this issue Mar 31, 2023 · 0 comments
Open

Problem with yarn berry workspace #36

yowpark opened this issue Mar 31, 2023 · 0 comments

Comments

@yowpark
Copy link

yowpark commented Mar 31, 2023

Error: electron-playwright-helpers tried to access electron, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: electron

yarn install failed with above error

Error when used with yarn berry pnp workspace.

It seems like an error that occurs because electron is written in devdependencies, not dependencies.

https://yarnpkg.com/configuration/manifest#devDependencies
Looking at , it seems normal that devDependencies are not installed to the package user.

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

No branches or pull requests

1 participant