我只是npm install morgan在一个文件夹中运行一个简单的文件,由于某种原因它将所有子依赖项添加到父文件夹.见附图
npm install morgan
node.js npm
node.js ×1
npm ×1