[英]How to run a project on a local computer?
Used by使用人
- Win 7x 64 - 赢得 7x 64
I want to see how the project works with github.com - project .我想看看这个项目是如何与 github.com- project 一起工作的。
Question.题。
How to make a project do this?如何让项目做到这一点?
I did:我做了:
1. Download the project to the folder. 1. 将项目下载到文件夹中。
c:\\test\\visualStudio\\JavaScript\\01\\
; c:\\test\\visualStudio\\JavaScript\\01\\
;
2. Launched a shortcut: 2.启动快捷方式:
c:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Node.js\\Node.js command prompt.lnk
The label contains the command:标签包含以下命令:
C:\\Windows\\System32\\cmd.exe /k "C:\\Program Files\\nodejs\\nodevars.bat"
What should I do next?我接下来该怎么做?
You need to be in the directory where the package.json
is located.您需要在
package.json
所在的目录中。 You can do this by going into your command prompt and typing the following, in this order:您可以通过进入命令提示符并按以下顺序键入以下内容来执行此操作:
1: 1:
cd ../../
2: 2:
cd test\visualStudio\JavaScript\01\
Once inside there, run npm install
进入后,运行
npm install
Be mindful of spaces and backslashes.注意空格和反斜杠。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.