I downloaded zip file from https://github.com/prgrms-web-devcourse/Team_Price_Offer_FE
and unzipped it.
I tried to run that program is Visual Studio Code, so I entered command npm start
but it didn’t work.
Team_Price_Offer_FE-devel % npm start
> start
> next start
sh: next: command not found
sh: next: command not found
Team_Price_Offer_FE-devel % next start
zsh: command not found: next
Sorry my English is not good and my question may not be challenging; however, I can’t get the program to start.
This is the code I used to install which also did not work.
npm install --legacy-peer-deps
npm install [email protected]
2
Answers
When downloading a zip folder from Github, it is important to also load the node modules. Node modules can be very large and are therefore usually not added to the folder.
To download the node module from the package.json,
run
or
When the node_modules are successfully downloaded we can run our app
with
First, you need node and a package manager running in your computer, like npm or yarn (there are others)
Then, install all the dependencies widh (sample with npm)
And then go to package.json file and there are all the availabre commands for that project, in the script property, for this case:
To run those commands you can execute (sample with npm)
Samples:
And so on…