Download package.json and node_modules

Download package.json command:

 npm init

After entering the command and pressing Enter, just press Enter all the time, and there is no need to enter anything during the period.

 

Download node_modules

npm install 

It is found that package-lock.json is downloaded after entering this command . At this point continue to enter the following command:

npm install formidable -S

Wait after pressing Enter, and the download of node_modules is completed at this time.

Right-click and delete the node_modules just downloaded , and enter the following command in the terminal:

npm install

At this time, node_modules is downloaded.

Finish!

 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_53748496/article/details/128324937