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

Serverless SSR pages #1

Merged
merged 13 commits into from
Jul 4, 2023
Merged

Serverless SSR pages #1

merged 13 commits into from
Jul 4, 2023

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented May 16, 2023

Summary

  1. Add example of serverless based SSR page

TODO

  1. Will need to incorporate Enhancement/issue 1088 refactor Workers out of SSR builds greenwood#1110
       Screen Shot 2023-05-15 at 9 35 10 PM
       Unhandled Promise Rejection 	{"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"TypeError: Cannot read properties of undefined (reading 'config')","reason":{"errorType":"TypeError","errorMessage":"Cannot read properties of undefined (reading 'config')","stack":["TypeError: Cannot read properties of undefined (reading 'config')","    at handler (file:///var/task/public/artists.js:8:47)","    at handler (file:///var/task/api/artists.js:9:21)","    at /var/task/___vc/__helpers.js:476:20","    at AsyncLocalStorage.run (node:async_hooks:341:14)","    at Server.handler (/var/task/___vc/__launcher.js:4948:30)","    at Server.emit (node:events:513:28)","    at parserOnIncoming (node:_http_server:1072:12)","    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: TypeError: Cannot read properties of undefined (reading 'config')","    at process. (file:///var/runtime/index.mjs:1189:17)","    at process.emit (node:events:525:35)","    at emit (node:internal/process/promises:149:20)","    at processPromiseRejections (node:internal/process/promises:283:27)","    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"]}
       
  2. Validate on Vercel after above upgrade
  3. Validate latest and greatest on upstream branch

@thescientist13 thescientist13 added documentation Improvements or additions to documentation enhancement New feature or request invalid This doesn't seem right labels May 16, 2023
@thescientist13 thescientist13 self-assigned this May 16, 2023
@vercel
Copy link

vercel bot commented May 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
greenwood-demo-adapter-vercel ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 1:42pm

@thescientist13 thescientist13 removed invalid This doesn't seem right needs upstream labels Jul 4, 2023
@thescientist13 thescientist13 merged commit f8f7cb7 into main Jul 4, 2023
@thescientist13 thescientist13 deleted the serverless-ssr-pages branch July 4, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant