Skip to content

[BUG] npm config throws/becomes unusable after setting workspaces or workspace config #2941

@darcyclarke

Description

@darcyclarke

Current Behavior:

  • npm config throws errors & becomes unusable when it sees defined workspaces or workspace config

Expected Behavior:

  • npm config should be exempt from this default behavior & not throw errors when it sees defined workspaces or workspace options (its core function/utility is to get/set that config)

Steps To Reproduce:

  1. npm config set workspaces=true
  2. npm config ... throws

Environment:

  • OS: osx
  • Node: 10.24.0
  • npm: 7.7.1

Metadata

Metadata

Assignees

Labels

Bugthing that needs fixingPriority 0will get attention right awayRelease 7.xwork is associated with a specific npm 7 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions