D:\phpStudy1\WWW\myexpress\web-pack>npm i -D webpack
npm ERR! Unexpected end of input at 1:19108
npm ERR! 85ee90a76dbf346","tarball":"https://registry.npmjs.org/ajv/-/ajv-0.4.
npm ERR! ^
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-09-22T0
1_39_32_917Z-debug.log
Unexpected end of input就是下载出错,国内网络问题,换源即可