-
-
Notifications
You must be signed in to change notification settings - Fork 817
Closed
Labels
Description
What is the problem?
I've just created a new project, without auth. I wanted to try and use next-ui using the blitz cli but when I use the blitz install next-ui command it fails to "generate file diffs"
When updating "the LabeledTextField wit Next UI's Input Component"
Paste all your error logs here:
ERROR The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
node:fs:592:10
- Object.openSync (node:fs:592:10)
- Object.readFileSync (node:fs:468:35)
- (recipe-install/node_modules/blitz/dist/installer.cjs:478:44)
- at Generator.next (<anonymous>)
- fulfilled (recipe-install/node_modules/blitz/dist/installer.cjs:439:24)
- processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-08-02 14:39:49.850 ERROR []
TypeError The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
error stack:
• fs Object.openSync
fs:592
• fs Object.readFileSync
fs:468
• \recipe-install\node_modules\blitz\dist\installer.cjs
\recipe-install\node_modules\blitz\dist\installer.cjs:478
•
• \recipe-install\node_modules\blitz\dist\installer.cjs fulfilled
\recipe-install\node_modules\blitz\dist\installer.cjs:439
• task_queues processTicksAndRejections
internal\process\task_queues:95
Paste all relevant code snippets here:
N/A
What are detailed steps to reproduce this?
- Using the cli
blitz new testing-blitz-next-ui- √ Pick a new project's language » TypeScript
- √ Pick your new app template » Minimal — no DB, no auth
- √ Install dependencies? » npm
- cd into folder
- install next-ui
blitz install next-ui - See error when "Updating LabeledTextField"
Run blitz -v and paste the output here:
Blitz version: 2.0.0-beta.31 (global)
Blitz version: 2.0.0-beta.31 (local)
Windows 11 | win32-x64 | Node: v18.14.1
Package manager: npm
System:
OS: Windows 10 10.0.22621
CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
Memory: 6.13 GB / 31.74 GB
Binaries:
Node: 18.14.1 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
Yarn: 1.22.19 - ~\scoop\apps\yarn\current\bin\yarn.CMD
npm: 9.3.1 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
npmPackages:
@blitzjs/auth: 2.0.0-beta.31 => 2.0.0-beta.31
@blitzjs/next: 2.0.0-beta.31 => 2.0.0-beta.31
@blitzjs/rpc: 2.0.0-beta.31 => 2.0.0-beta.31
@prisma/client: Not Found
blitz: 2.0.0-beta.31 => 2.0.0-beta.31
next: 13.4.5 => 13.4.5
prisma: Not Found
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: ^4.8.4 => 4.9.5
Please include below any other applicable logs and screenshots that show your problem:
Reactions are currently unavailable
