rspack v0.3.4 cannot be started in mono-repo when using workspaces in package.json #4203
Labels
bug
Something isn't working
need more info
need reproduction
pending triage
The issue/PR is currently untouched.
System Info
System:
OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (7) x64 Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
Memory: 11.45 GB / 19.54 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 16.20.2 - /usr/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 8.19.4 - /usr/bin/npm
pnpm: 8.7.5 - ~/dev/cat/node_modules/.bin/pnpm
Browsers:
Chrome: 107.0.5304.87
Details
I've used rspack in a number of projects with impressive results, and I really like it. However, when installing it with
pnpm
in a simple mono-repo to build my GUI inpackages/gui
, a simple command likenpx rspack --version
failed:The root cause, I assume, is that my root
package.json
contains a"workspaces": ["packages/*"]
. Without it, it runs just fine.Reproduce link
No response
Reproduce Steps
package.json
and add"workspaces": [ "packages/*" ],
Root
package.json
with the offendingworkspaces
.The text was updated successfully, but these errors were encountered: