Let's look at how to properly install 1.13.2
The first step: If you have installed an error, it is best to uninstall and best global and folders are uninstalling it again?
npm uninstall webpack -g?? (Global unloading)
Npm determine normal and installation Taobao mirror
Step Two: Global installed cnpm install -g [email protected] (tested, other versions may be, I'm not sure of 4.0 or more, and still looks like a test version 4.0)
The third step: to enter the folder (such as my project (pack folder) on the desktop cd Desktop / pack)
Step four: local installation install --save-dev [email protected] CNPM
---------------------
Author: wanxue0804
Source: CSDN
Original: https: / /blog.csdn.net/wanxue0804/article/details/79427332