Skip to content

Runtime.HandlerNotFound: server.handler is undefined or not exported Β #179

@blackwood

Description

@blackwood

Hi there, thanks for your work on this template!

With a fresh local install of the stack, after installing deps, adding env variables (in Netlify admin), and running netlify deploy --prod results in this error:

https://keen-cendol-1585a7.netlify.app/

May 30, 04:49:21 PM: 39205aa9 2023-05-30T20:49:22.552Z undefined ERROR Uncaught Exception {"errorType":"Runtime.HandlerNotFound","errorMessage":"server.handler is undefined or not exported","stack":["Runtime.HandlerNotFound: server.handler is undefined or not exported"," at Object.UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1035:15)"," at start (file:///var/runtime/index.mjs:1195:23)"," at file:///var/runtime/index.mjs:1201:1"]}

On the other hand, using it as a template via the "Deploy to Netlify" link, works as expected:

https://jocular-dieffenbachia-382f45.netlify.app/

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions