Skip to content

pnpm's package.json5 file not supported #7097

@mintydev789

Description

@mintydev789

Which project does this relate to?

Start

Describe the bug

The pnpm run dev command fails when using a package.json5 file instead of package.json.

Your Example Website or App

This simply refers to the start project when initializing with the CLI

Steps to Reproduce the Bug or Issue

  1. Initialize new project using the CLI with PNPM: pnpm dlx @tanstack/cli@latest create.
  2. Change the package.json file to a package.json5 file (supported by PNPM).
  3. Run pnpm run dev.

Expected behavior

Expected that this would work, and the error message was super cryptic, seemingly because the code just assumed that there's a file named exactly package.json.

Screenshots or Videos

No response

Platform

Not relevant to this issue

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