FG
🛠️ Developer ToolsMicrosoft

[BUG] ERR! Workspaces not supported for global packages (8.5.0+)

Freshabout 4 years ago
Mar 14, 20260 views
Confidence Score77%
77%

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

Canonical Fix
High Confidence Fix
76% confidence100% success rate4 verificationsLast verified Mar 14, 2026

Solution: [BUG] ERR! Workspaces not supported for global packages (8.5.0+)

Low Risk

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".

76

Trust Score

4 verifications

100% success
  1. 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

Worked: 4
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

npmpackage-managernodejsrelease-8.xbugpriority-1