octobercms/october · error · Error
Module namespace is not registered: ${namespace}
Error message
Module namespace is not registered: ${namespace} What it means
Error "Module namespace is not registered: ${namespace}" thrown in octobercms/october.
Source
Thrown at modules/backend/assets/js/october/october.jsmodule.js:18
+(function($) {
'use strict';
function OctoberModuleRegistry() {
this.moduleMap = new Map();
this.register = function(namespace, registrationFn) {
if (this.moduleMap.has(namespace)) {
console.info('Module namespace is already registered: ' + namespace);
return;
}
this.moduleMap.set(namespace, registrationFn());
};
this.import = function(namespace) {
if (!this.exists(namespace)) {
throw new Error('Module namespace is not registered: ' + namespace);
}
return this.moduleMap.get(namespace);
};
this.exists = function(namespace) {
return this.moduleMap.has(namespace);
};
}
if (!window.oc) {
window.oc = {};
}
window.oc.Modules = new OctoberModuleRegistry();
// oc.Module and $.oc.module is @deprecated -sg
window.oc.Module = $.oc.module = window.oc.Modules;View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/assets/js/october/october.jsmodule.js:18 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/fec452a2649276a9.
Report an issue: GitHub.