by mistake i deleted the node module folder when i installed and try to run it is giving 127 error
and saying vite not found
Hey @shahviivek, welcome to the community!
You can reinistall the npm packages by checking the package.json
.
Any packages in the "dependencies"
can be installed by typing
$ npm install module-1 module-2 module-3…
,
while packages in the "devDependenices"
can be installed by typing
$ npm install --save-dev dev-module-1 dev-module-2 dev-module-3…
.
You can also run npm i
and that will install all of your packages based on the dependencies in your package.json
1 Like