#Can't create React app properly

20 messages · Page 1 of 1 (latest)

steady dove
#

Hello! After creating a React Vite project with bun, I got the following error: Error: ENOENT: no such file or directory, open 'C:\Users\uname\OneDrive\Dokumen@Project@react-vite\vite-project\vite.config.ts'.

I don't remember touching the bun version or do anything with it other than upgrading bun to v1.3.6 and that was a while ago. I was testing my scaffolding prompt file for React application and always create new React Vite + TypeScript SWC project every time I change the prompt file just so I can see if I can one shot it or not and do prompt refinement.

The first two or three project creation went fine. Then I tried the fifth one and I got the error. So I'm not quite sure what causes it to happen. I restarted my PC, tried different directory, tried different terminal and still got the problem.

Any help would be appriciated! Thank you in advance.

magic ore
#

@steady dove weird thing: Can you try with plain node?

#

wanna rule out that this is a bun issue

steady dove
#

tried it again with bun and still get the same issue

steady dove
#

so right now i just create the project with npm without doing the npm install so i can just bun install myself to the project directory

magic ore
steady dove
#

sure! i think i can raise one. ill let you know when its there

steady dove
#

but that was a while ago, like, last year. ill read some of it

magic ore
steady dove
#

I actually have tried selecting No option when “Install with bun and start now” and still get the same issue BocchiCat I forgot to mentions it

steady dove
#

nahhh i got the problem again :(

#

im pretty sure its my system acting up

#

im finding ways to repair or do maintenance with bun

#

like self repair or anything

#

or just reinstall bun entirely

sinful vale
steady dove
#

yep that convince me