DEV Community

Carlos Junior
Carlos Junior

Posted on

'vite' is not recognized as an internal or external command

hello folks, yea i know just wanted to share a quick fix, about this that i just learned that you CANT RUN A PROJECT after you forked, without install dependecy

So im pretty knew to programming i wanted to share the meaning of Dependency, what it means?

A dependency is defined as a file, component, or software package that a program needs to work correctly.

Image description

Like a bookshelf, you cant LEARN if you dont have a place where you put all your books that you actually learn, in this example its not the same thing but i just wanted to share a example with you.

Ok but what do i need to do?

its easy

npm i

Ok what is that lol?

You are installing all dependencies or devDependencies from a package. json file.

Im using this github project as example using Vite instead of CRA

Image description

after that you can do

npm run dev

using VITE to open the project

And you done !

Top comments (0)