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

Internal Server Error #48

Open
ruckc opened this issue Jan 17, 2024 · 0 comments
Open

Internal Server Error #48

ruckc opened this issue Jan 17, 2024 · 0 comments

Comments

@ruckc
Copy link

ruckc commented Jan 17, 2024

Describe the bug
In testing a brand new app, get Internal Server Error. The LambdaServerHandler logs show

{
    "errorType": "ReferenceError",
    "errorMessage": "Request is not defined",
    "stack": [
        "ReferenceError: Request is not defined",
        "    at Runtime.handler (/var/task/index.js:4572:9)"
    ]
}

To Reproduce
Steps to reproduce the behavior:

  1. npm create svelte@latest
  2. npm install
  3. npm add -D aws-cdk sveltekit-adapter-aws
  4. npm run build

Expected behavior
I expect to see Welcome to SvelteKit on the cloudfront distribution endpoint

Desktop (please complete the following information):

  • OS: Ubuntu 23.10 - inside WSL2 (Windows 11)
  • Browser: Chrome 120

Additional context
Add any other context about the problem here.

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