我想问的是:本人现在在自学混合开发,当安装nodejs时有四个选项。这四个选项选择安装后会有什么不同,还是说随便选,请求大神们的解答!谢谢!
PHPz2017-04-17 15:18:02
You must select the node operating environment, otherwise the code you write will not run. You must also select the npm package manager. This is used to download dependent packages. Online document. You don’t need to select this. The document can be viewed on the official website. Add to path To select, add it to the path. You can directly node app.js
anywhere in cmd. If you don’t select it, you will have to D:XXX/node.exe app.js every time you run it. So much Trouble
迷茫2017-04-17 15:18:02
nodejs running environment --- required, this is the core, used to execute js in the background
NPM package management ------ Optional, used for nodejs package management. If you do not want to install it, you need to install npm independently, so generally check
Online Documentation --- Optional
Add to system path --- Optional, after checking it, you can use nodejs and npm commands directly in cmd, otherwise you need to quote the corresponding exe to execute the command