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
- Check Typo: Ensure the ID in
dependencies: [“…”]matches exactly theidin the target module’sindex.module.js. - Check Existence: Ensure the dependency module actually exists in your
modules/folder or is loaded viamoduleLoadinastro.config.mjs. - Check Status: Ensure the dependency module is not disabled (
status: “disabled”).