Open JackDevAU opened 1 year ago
I am experience the same problem, but with the tailwind recipe - #4192
I experienced the same problem with both tailwind and material ui. Is it possible to force it now to diff aside from killing the process?
This is for material-ui
ERROR The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
node:fs:579:10
- Object.openSync (node:fs:579:10)
- Object.readFileSync (node:fs:457: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)
2024-01-11 22:11:43.166 ERROR []
TypeError ERR_INVALID_ARG_TYPE, The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
error stack:
• fs Object.openSync
fs:579
• fs Object.readFileSync
fs:457
• \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
Run blitz -v and paste the output here:
Package manager: npm
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
Memory: 14.40 GB / 31.78 GB
Binaries:
Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 4.0.2 - C:\Program Files\nodejs\yarn.CMD
npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@blitzjs/auth: 2.0.2 => 2.0.2
@blitzjs/next: 2.0.2 => 2.0.2
@blitzjs/rpc: 2.0.2 => 2.0.2
@prisma/client: 5.4.2 => 5.4.2
blitz: 2.0.2 => 2.0.2
next: 13.5.4 => 13.5.4
prisma: 5.4.2 => 5.4.2
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: 4.8.4 => 4.8.4
I'm going to work on getting this issue fixed. Pretty sure I know what the cause is.
that's great @Doc0x1! I will assign this issue to you. Feel free to tag me and we can get the fix merged.
that's great @Doc0x1! I will assign this issue to you. Feel free to tag me and we can get the fix merged.
Okay cool, I'm actually done writing up a discussion discussing the problem with the code at length, since it's a multi-layered problem and I thought it'd be worth trying to get some context/ideas/suggestions from others who might have some good strategies or ideas to lend me. It's here if you wanna check it out: #4286
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 theblitz install next-ui
command it fails to "generate file diffs" When updating "theLabeledTextField
wit Next UI'sInput
Component"Paste all your error logs here:
Paste all relevant code snippets here:
N/A
What are detailed steps to reproduce this?
blitz new testing-blitz-next-ui
blitz install next-ui
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
Figure: Stuck generating file diff