Skip to content

examples tanstack-start @tanstack/react-start/config not found #1662

@wszgrcy

Description

@wszgrcy

Describe the bug

https://github.com/TanStack/form/blob/bea5803476406b8f588a344c8e428288f79f965d/examples/react/tanstack-start/app.config.ts

pnpm install
pnpm dev

log

pnpm dev

> @tanstack/form-example-react-tanstack-start@ dev C:\code\third-project\form\examples\react\tanstack-start
> vinxi dev

vinxi v0.5.7
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './config' is not defined by "exports" in C:\code\third-project\form\examples\react\tanstack-start\node_modules\@tanstack\react-start\package.json imported from C:\code\third-project\form\examples\react\tanstack-start\app.config.timestamp_1754186108756.js
    at exportsNotFound (node:internal/modules/esm/resolve:314:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:661:9)
    at packageResolve (node:internal/modules/esm/resolve:774:12)
    at moduleResolve (node:internal/modules/esm/resolve:854:18)
    at defaultResolve (node:internal/modules/esm/resolve:984:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:780:12)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:704:25)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:687:38)
    at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:305:38)
    at ModuleJob._link (node:internal/modules/esm/module_job:137:49) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

 ERROR  Cannot read properties of undefined (reading 'config')                                              09:55:08  

    at Object.run (/C:/code/third-project/form/node_modules/.pnpm/[email protected]_@types+node@24._99b291f8dbaac525dc6359ed229393ac/node_modules/vinxi/bin/cli.mjs:79:9)
    at async runCommand (/C:/code/third-project/form/node_modules/.pnpm/[email protected]/node_modules/citty/dist/index.mjs:316:16)
    at async runCommand (/C:/code/third-project/form/node_modules/.pnpm/[email protected]/node_modules/citty/dist/index.mjs:307:11)
    at async runMain (/C:/code/third-project/form/node_modules/.pnpm/[email protected]/node_modules/citty/dist/index.mjs:445:7) 



 ERROR  Cannot read properties of undefined (reading 'config')                                              09:55:08  

 ELIFECYCLE  Command failed with exit code 1.

Your minimal, reproducible example

empty

Steps to reproduce

pnpm install
pnpm dev

Expected behavior

work

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

windows

TanStack Form adapter

None

TanStack Form version

1.15.2

TypeScript version

5.8.2

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