Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
blackwood opened this issue May 30, 2023 · 0 comments
Open

Comments

@blackwood
Copy link

blackwood commented May 30, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant