Vite and Chakra installation

I am just starting on the “Project: Building a video game” in the React course, but after setting up a new project with vite and installing Chakra, I get doubled up with package.json and the folder node_modules etc. Any idea what happens here during the install? I followed Most steps exact as he did. Thanks

I guess, when you run npm i
your current path is the parent folder of the gamehub project.

just delete node_modules and other files outside the gamehub folder

then reopen your project, make sure the path of your project is correct

1 Like