npm install express 失败的时候,能够尝试这样安装。npm install express -i --save缘由是以前你可能全局安装了express,而且这两次你安装的express版本也是不同的。在你使用的工程下,进行express的局部安装,即 -i。express