To provide additional context, I developed a custom DX Component named _Alamaticz_DarkMode. The component works as expected in my local DX Component development environment. However, after publishing and deploying it to the Pega application, I am encountering the following runtime error:
PyComponent_Not_Found
Component Not Found - _Alamaticz_DarkMode
The resource cannot be found.
The component is referenced correctly in the view configuration, and the deployment completed without any obvious errors.
Could you please advise on any Pega 25.1-specific checks or configuration areas that I should verify, such as component registration, deployment packaging, static content availability, or Constellation DX Component configuration?
Go to Library > DX Components in Pega and check that your component shows as “Added” — if it doesn’t, it was never properly registered, which is why Pega throws the Component Not Found error. Next, confirm that the ruleset you published the component into is actually included in your application’s ruleset stack, since Pega can’t load a component from a ruleset the application isn’t using. Finally, open the app in an incognito browser window to rule out cached files causing the issue. Following these three checks in order should resolve the problem.