一、安装nodejs,6.10.3版,自带npm。html
http://www.runoob.com/nodejs/nodejs-install-setup.htmlnode
二、更新npm。webpack
cmd: npm install npm@latest -ggit
三、安装git,2.13.0版。web
https://git-scm.com/download/winnpm
四、检查是否成功安装。webpack-dev-server
cmd: node --version 和 git --version 还有 npm --version 查看是否安装成功而且显示当前版本号插件
五、安装webpack模块。server
cmd: npm install webpack -ghtm
cmd: npm install webpack-dev-server -g
六、安装cnpm。
六、在工程目录下启动服务。
cmd: cd C:\Users\liuck\Desktop\deck.gl-4.0-release\examples\trips
cmd: npm install webpack --save-dev
cmd: npm install 若是插件没法安装,这则使用cnpm,cmd: cnpm install
cmd: npm start