theforeman/foreman · error · Error

Component not found: ${name} among ${this.registeredComponen

Error message

Component not found: ${name} among ${this.registeredComponents()}

What it means

Error "Component not found: ${name} among ${this.registeredComponents()}" thrown in theforeman/foreman.

Source

Thrown at webpack/assets/javascripts/react_app/components/componentRegistry.js:71

    if (!name || !type) {
      throw new Error('Component name or type is missing');
    }
    if (this.registry[name]) {
      // eslint-disable-next-line no-console
      console.warn(`Component name already taken: ${name}`);
    } else {
      this.registry[name] = { type, store, data };
    }

    return this.registry;
  },

  registerMultiple(componentObjs) {
    return Object.values(componentObjs).forEach(obj => this.register(obj));
  },

  getComponent(name) {
    if (!this.registry[name]) {
      throw new Error(
        `Component not found: ${name} among ${this.registeredComponents()}`
      );
    }

    return this.registry[name];
  },

  wrapperFactory() {
    return new WrapperFactory();
  },

  registeredComponents() {
    return Object.keys(this.registry).join(', ');
  },

  defaultWrapper(component, data = null, store = null, flattenData = false) {
    const factory = this.wrapperFactory();

View on GitHub (pinned to 6b05625475)

When it happens

Trigger: Thrown at webpack/assets/javascripts/react_app/components/componentRegistry.js:71 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23). Data as JSON: /api/errors/95e70fe9f7b57711. Report an issue: GitHub.