Uncaught TypeError

Topic summary

A frontend rendering issue emerged on Wednesday (27.09.23) causing an Uncaught TypeError: superCtor.prototype is not an object or null error in the browser’s developer console.

Error Details:

  • Originates from inherits_browser.js:6
  • Propagates through multiple module loading steps involving Express and Shopify app packages
  • Backend reports no issues; problem isolated to frontend

Recent Changes:

  • User was suddenly prompted to add three packages: mock-aws-s3, aws-sdk, and nock
  • These additions preceded the rendering failure

Current Status:

  • Frontend completely fails to render
  • User seeking others who have encountered this specific error or have experience resolving similar inheritance-related TypeErrors in the Shopify/Express stack
Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.
Uncaught TypeError: superCtor.prototype is not an object or null
    inherits inherits_browser.js:6
    js index.js:173
    __require2 chunk-TFWDKVI3.js:18
    js Express
    __require2 chunk-TFWDKVI3.js:18
    js Express
    __require2 chunk-TFWDKVI3.js:18
    js Express
    __require2 chunk-TFWDKVI3.js:18
    js Express
    __require2 chunk-TFWDKVI3.js:18
    node_modules @shopify_shopify-app-express.js:21519
    __require2 chunk-TFWDKVI3.js:18
    node_modules @shopify_shopify-app-express.js:21577
    __require2 chunk-TFWDKVI3.js:18
    <anonymous> @shopify_shopify-app-express.js:21699
inherits_browser.js:6:30

Since last wednesday (27.09.23) the frontend of my app wont render anymore. This is the error from the developer console in the browser. The Backend dosnt report any problems. Before this the i was suddenly prompted to add the packages mock-aws-s3, aws-sdk and nock. Did someone also encountered this or has experience in fixing it?

1 Like