Standard OS · DocumentationSTANDARD MANUALSTD-UNRESOLV · 2026-02-25
STD-UNRESOLV

Unresolved Module Dependency

Unresolved Module Dependency

Error: Module “my-module” has unresolved dependency: “missing-dep”

The Problem

Your module declares a dependency in its dependencies array, but no module with that ID could be found in the project.

The Why

The Standard Module System enforces a strict dependency graph. A module cannot load until all its dependencies are ready. If a dependency is missing, the dependent module would likely crash or behave incorrectly when it tries to use features from the missing module.

The Solution

  1. Check Typo: Ensure the ID in dependencies: [“…”] matches exactly the id in the target module’s index.module.js.
  2. Check Existence: Ensure the dependency module actually exists in your modules/ folder or is loaded via moduleLoad in astro.config.mjs.
  3. Check Status: Ensure the dependency module is not disabled (status: “disabled”).
Standard OS — stnd.buildSTD-UNRESOLV · rev. 2026-02-25