Skip to content

server function error #181

@nandcello

Description

@nandcello

Which project does this relate to?

Create Tanstack App

Describe the bug

Summary

when starting a new tanstack app using pnpm create @tanstack/start@latest and then selecting Cloudflare, when navigating to server-func tab example, it errors with Error: [unenv] fs.readFile is not implemented yet!

Your Example Website or App

.

Steps to Reproduce the Bug or Issue

  1. pnpm create @tanstack/start@latest
  2. Choose Tailwind
  3. Choose ESLint
  4. Choose Cloudflare
  5. pnpm run dev6. navigate to http://localhost:3000/demo/start/server-funcs
  6. error shows

Expected behavior

As a user I expect the server-func demo in the starter to work

Screenshots or Videos

Image

Platform

  • OS: macOS
  • Browser: Edge
  • Version: 0.25.0

Additional context

No response

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