-
-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Which project does this relate to?
Create Tanstack App
Describe the bug
PS C:\Users\marv\workspace\fenbi-tanstack> tanstack add shadcn
┌ Adding shadcn to the project...
node:internal/fs/promises:642
return new FileHandle(await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, open 'C:\Users\marv\workspace\fenbi-tanstack\Users\marv\workspace\fenbi-tanstack\package.json'
at async open (node:internal/fs/promises:642:25)
at async readFile (node:internal/fs/promises:1279:14)
at async Object.readFile (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@[email protected][email protected]/node_modules/@tanstack/create/dist/environment.js:61:21)
at async writeFiles (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@[email protected][email protected]/node_modules/@tanstack/create/dist/add-to-app.js:83:44)
at async addToApp (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@[email protected][email protected]/node_modules/@tanstack/create/dist/add-to-app.js:138:5)
at async Command.<anonymous> (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@[email protected]_@babel_0213e0a28e2c3897a033eaf3ba9b4a1c/node_modules/@tanstack/cli/dist/cli.js:456:13) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Users\\marv\\workspace\\fenbi-tanstack\\Users\\marv\\workspace\\fenbi-tanstack\\package.json'
}
Node.js v24.12.0Your Example Website or App
.
Steps to Reproduce the Bug or Issue
- init project with
tanstack create . tanstack add shadcn
Expected behavior
no error
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels