Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
451 views
in Technique[技术] by (71.8m points)

node.js - 每次运行npm install时,都会收到无关的警告/错误(Everytime I run npm install, I get the extraneous warning/error)

Every single package I install using npm i is extraneous and is not added to package.json.

(我使用npm i安装的每个软件包都是多余的,并且不会添加到package.json中。)

With npm i --save, it will get added but I wonder why this is.

(使用npm i --save,它会被添加,但是我想知道为什么会这样。)

I've tested in different directories to make sure the problem is not the parent folder having a node_modules folder.

(我已经在不同的目录中进行了测试,以确保问题不是父文件夹具有node_modules文件夹。)

I'm using node 8.10.0 and npm 3.5.2

(我正在使用节点8.10.0和npm 3.5.2)

在此处输入图片说明

  ask by littlezigy translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...