[Seek Help] v20咋装npm呢
Tofloor
poster avatar
☃☂
deepin
2021-05-17 19:08
Author

apt install npm
显示下面这个

 npm : 依赖: node-gyp (>= 3.6.2~) 但是它将不会被安装

Reply Favorite View the author
All Replies
WENWEN
deepin
2021-05-17 19:10
#1

这边验证了下 是正常的

 

Reply View the author
BG7ZAG
deepin
2021-05-17 19:19
#2

先装nodejs

sudo apt install nodejs
Reply View the author
☃☂
deepin
2021-05-17 19:42
#3
BG7ZAG

先装nodejs

sudo apt install nodejs

试了nodejs装完之后,再装npm,还是一样的错。

不过执行了apt update之后,再安装npm就成功了

谢谢~

Reply View the author