Menu
Important
Stay updated on React2Shell

WORKSPACE_MISSING_PACKAGE_JSON

Last updated March 4, 2025

Conformance is available on Enterprise plans

All directories that match a glob used to configure package manager workspaces must be defined as a package and contain a file. This check prevents confusion where a new directory may be placed within a directory that is configured to be a workspace but the new directory is not actually a workspace.

The repository configures pnpm workspaces in this file:

If a directory is defined in , then this test will fail saying that the directory must contain a file.

Directories that match a workspace glob but do not have a file should either be converted to a package, be moved to a different directory, or be excluded in the workspaces configuration.


Was this helpful?

supported.