one icon indicating copy to clipboard operation
one copied to clipboard

Fullstack error: Failed to fetch feed

Open coryhouse opened this issue 4 months ago • 0 comments

If I generate using the Fullstack option I get this in the browser when I run bun dev:

Screenshot 2024-10-14 at 9 09 28 PM

In the editor console, I get:

Error in handleSSR: Error: Failed to fetch feed:
    at Module.loader (/Users/coryhouse/Projects/one/one-hello-world/app/(feed)/index.tsx:48:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.handleSSR (file:///Users/coryhouse/Projects/one/one-hello-world/node_modules/one/dist/esm/vite/createFileSystemRouter.mjs:49:26)
    at async Object.handler (file:///Users/coryhouse/Projects/one/one-hello-world/node_modules/one/dist/esm/createHandleRequest.mjs:91:33)
    at async file:///Users/coryhouse/Projects/one/one-hello-world/node_modules/one/dist/esm/vite/createFileSystemRouter.mjs:167:27
Error rendering / on server

This happens if I generate the app and select npm instead of Bun too. I'm on Node 20 on a Mac.

If I generate using the minimal setting, the hello world displays fine in the browser.

coryhouse avatar Oct 15 '24 02:10 coryhouse