electron-playwright-helpers icon indicating copy to clipboard operation
electron-playwright-helpers copied to clipboard

Problem with yarn berry workspace

Open yowpark opened this issue 1 year ago • 0 comments

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.

yowpark avatar Mar 31 '23 05:03 yowpark