[BUG] ERR! Workspaces not supported for global packages (8.5.0+)
Problem
Is there an existing issue for this? - [X] I have searched the existing issues This issue exists in the latest npm version - [X] I am using the latest npm Current Behavior After updating to 8.5.0 (and 8.5.2), I'm seeing the following when running a script that uses concurrently: [code block] Log: [code block] What is that `"prefix" "-g"` thing? Expected Behavior No errors. Steps To Reproduce 1. In Windows. 2. Using workspaces. 3. Run a script using `concurrently`. 4. See error. Environment - npm: 8.5.2 - Node.js: 16.14.0 - OS Name: Windows - System Model Name: Really? - npm config: [code block]
Error Output
Error: Workspaces not supported for global packages
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [BUG] ERR! Workspaces not supported for global packages (8.5.0+)
Some of our developers still encounter this issue on Windows, using npm 8.5.5. We have a monorepo using workspaces and NX. Every package using concurrently produces the error "ERR! Workspaces not supported for global packages".
Trust Score
4 verifications
- 1
Some of our developers still encounter this issue on Windows, using npm 8.5.5.
We have a monorepo using workspaces and NX. Every package using concurrently produces the error "ERR! Workspaces not supported for global packages".
Validation
Resolved in npm/cli GitHub issue #4477. Community reactions: 6 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep