\n","author":{"@type":"Person","name":"jr005"},"upvoteCount":0,"answerCount":4,"acceptedAnswer":null}}
Reputation: 11
Hello I downloaded a react project from https://github.com/fabiau/jc-calendar and when I do npm start I get error messages. I tried to do "NPM Fund" and "NPM Update" and none of them worked. Obviously i have no clue what I am doing so if anyone can point me in the right direction I would apprecaite it.
Upvotes: 0
Views: 138
Reputation: 441
most of the repositories on GitHub, don't have dependencies installed, after downloading a repository on your local machine, you need to run "npm install". The reason behind this is that npm will look for all the required dependencies of the specified project and install them on your machine, with node-modules, then run "npm start"
Upvotes: 0
Reputation: 103
Checkout scripts in package.json in usual case start will be as given below but as per the code you consider npm-run-all package is used so be sure to run npm install
"scripts": {
"start": "react-scripts start",
},
This may help you out https://www.npmjs.com/package/npm-run-all
Upvotes: 0
Reputation: 73
Try deleting folder node_modules and package-lock.json if exists and run command npm install
Upvotes: 0
Reputation: 203
Before starting dev server you'll have to install the dependencies of the project using npm install , as generally node_modules/dependencies are not part of the repository.
This is mentioned in Readme.md of JC-calender.
Upvotes: 2