Skip to content

VDT0002: Inspect Target Not Found ​

Message ​

Vite inspect target "{id}" was not found in {target}.

Cause ​

An inspect RPC query referenced a Vite instance or environment that the collector has not recorded.

Example ​

Calling vite:inspect:get-module-transform-info with an unknown { vite, env } query triggers this error.

Fix ​

Read vite:inspect:get-metadata first and pass one of the returned Vite instance IDs and environment names to follow-up inspect RPC calls.

Source ​

Released under the MIT License.