Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run npm project cloned from git

Tags:

npm

reactjs

I want to run npm project, which was cloned from git, on my computer, but usual command like npm start did not work. Can someone give some tutorial how to start such projects or share some information.

like image 649
Asset Bekbossynov Avatar asked Feb 23 '18 19:02

Asset Bekbossynov


1 Answers

Check the readme.md of the git repo for instructions.

But from experience, the cloned project should have a package.json. In terminal at the root of the project run npm install to install necessary dependencies. Then check if npm start is set up properly inside the 'Scripts' object in your package.json Finally run npm start This should do it for you, but most attention should paid to instructions inside README.md provided by developer.

like image 134
Isaac Sekamatte Avatar answered Oct 31 '22 05:10

Isaac Sekamatte