Skip to content

VTTF-0014: MissingModuleApi

NOTE

requireModuleApi() asked for the api of a module that is not installed, is installed but switched off, or is on and publishes nothing. Also thrown when registerModule() is given an api but Foundry has no module under that id, which means the id does not match module.json.

FieldValue
CodeVTTF-0014
NameMissingModuleApi
Package@vttforge/core
Sourcepackages/core/src/errors/registry.ts

This page comes from the registry entry. We are still writing the root causes, common triggers and code samples for each code; the message above is what the runtime throws.

packages/core/scripts/codegen-errors.mjs builds this file from the registry at packages/core/src/errors/registry.ts. Do not edit by hand; re-run pnpm --filter @vttforge/core build after editing the registry.

MIT licensed.