Skip to content

Unable to find local plugin [] Map(0) {} #31188

@sschneider-ihre-pvs

Description

@sschneider-ihre-pvs

Current Behavior

when running things like pnpm nx run frontend:tsc:build --verbose with the nx/js:typescript plugin nx reports

Unable to find local plugin [] Map(0) {}

multiple times. I cannot see what local plugin it tries to find.

#30022

Expected Behavior

Either list the plugin that is not found or don't show at all.

GitHub Repo

No response

Steps to Reproduce

{
	"$schema": "./node_modules/nx/schemas/nx-schema.json",
	"targetDefaults": {},
	"namedInputs": {
		"default": ["{projectRoot}/**/*", "sharedGlobals"],
		"production": [
			"default",
			"!{projectRoot}/.eslintrc.json",
			"!{projectRoot}/eslint.config.js",
			"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
			"!{projectRoot}/tsconfig.spec.json",
			"!{projectRoot}/cypress/**/*",
			"!{projectRoot}/**/*.cy.[jt]s?(x)",
			"!{projectRoot}/cypress.config.[jt]s",
			"!{projectRoot}/src/test-setup.[jt]s",
			"!{projectRoot}/test-setup.[jt]s",
			"!{projectRoot}/jest.config.[jt]s"
		],
		"sharedGlobals": []
	},
	"cli": {
		"packageManager": "pnpm"
	},
	"sync": { "applyChanges": true },
	"plugins": [
		{
			"plugin": "@nx/cypress/plugin",
			"options": {
				"targetName": "e2e",
				"ciTargetName": "e2e-ci",
				"componentTestingTargetName": "component-test",
				"openTargetName": "open-cypress"
			}
		},
		{
			"plugin": "@nx/storybook/plugin",
			"options": {
				"serveStorybookTargetName": "serve:storybook",
				"buildStorybookTargetName": "build-storybook",
				"testStorybookTargetName": "test-storybook",
				"staticStorybookTargetName": "static-storybook"
			}
		},
		{
			"plugin": "@nx/js/typescript",
			"options": {
				"typecheck": {
					"targetName": "tsc:typecheck"
				},
				"build": {
					"targetName": "tsc:build",
					"configName": "tsconfig.lib.json",
					"buildDepsName": "tsc:build-deps",
					"watchDepsName": "tsc:watch-deps"
				}
			}
		},
		{
			"plugin": "@nx/js/typescript",
			"options": {
				"typecheck": {
					"targetName": "tsc:typecheck"
				},
				"build": {
					"targetName": "tsc:build",
					"configName": "tsconfig.app.json",
					"buildDepsName": "tsc:build-deps",
					"watchDepsName": "tsc:watch-deps"
				}
			}
		}
	]
}

1.pnpm nx run frontend:tsc:build --verbose

Nx Report

NX   Report complete - copy this into the issue template

Node           : 22.13.1
OS             : win32-x64
Native Target  : x86_64-windows
pnpm           : 10.10.0

nx                 : 21.0.3
@nx/js             : 21.0.3
@nx/jest           : 21.0.3
@nx/eslint         : 21.0.3
@nx/workspace      : 21.0.3
@nx/cypress        : 21.0.3
@nx/devkit         : 21.0.3
@nx/eslint-plugin  : 21.0.3
@nx/nest           : 21.0.3
@nx/node           : 21.0.3
@nx/storybook      : 21.0.3
@nx/web            : 21.0.3
@nx/webpack        : 21.0.3
typescript         : 5.8.2
---------------------------------------
Registered Plugins:
@nx/cypress/plugin
@nx/storybook/plugin
@nx/js/typescript
@nx/js/typescript
---------------------------------------
Community plugins:
@compodoc/compodoc : 1.1.26
@jscutlery/semver  : 5.6.0
---------------------------------------
Cache Usage: 73.18 MB / 47.43 GB

Failure Logs

Package Manager Version

pnpm

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Metadata

Metadata

Assignees

Labels

priority: lowLow Priority (does not affect many people or not severely or has an easy workaround)scope: corecore nx functionalitytype: bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions