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
- Initialize new project using the CLI with PNPM:
pnpm dlx @tanstack/cli@latest create.
- Change the
package.json file to a package.json5 file (supported by PNPM).
- 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
Which project does this relate to?
Start
Describe the bug
The
pnpm run devcommand fails when using apackage.json5file instead ofpackage.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
pnpm dlx @tanstack/cli@latest create.package.jsonfile to apackage.json5file (supported by PNPM).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