-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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] webpack
cannot access webpack-cli
with workspaces
#556
Comments
It's a Webpack bug. They are using Three solutions:
|
webpack
cannot access webpack-cli
in a workspaced project
webpack
cannot access webpack-cli
in a workspaced projectwebpack
cannot access webpack-cli
with workspaces
I've ran into the same issue but with
Since the command being ran is already Edit: Just found this PR: webpack/webpack-dev-server#2396 - guess I'll use that branch until it's merged. |
Note that you can use |
Adding this to packageExtensions:
webpack-dev-server@*:
peerDependencies:
webpack-cli: "*" |
Is my issue a duplicate of this? |
Hi! 👋 This issue looks stale, and doesn't feature the Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolution faster). It helps us help you! 😃 If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the |
Describe the bug
webpack-cli throws an error "One CLI for webpack must be installed." in a workspace but works fine in a single package.
I think this may be a major bug with binaries and workspaces in berry.
To Reproduce
Checkout the repro repository: https://github.com/HosseinAgha/yarn2-workspaces-webpack-bug-repro
The text was updated successfully, but these errors were encountered: