Проблема с чипом Ubuntu 17.04 и Wifi Ralink RT 3290

В большинстве случаев я не могу обновить его с помощью глобальной команды. Однако для меня работала над обновлением пакета из источника всех модулей узлов:

Узнайте, где установлена ​​npm и перейдите в эту папку

# Below command shows the destination (remove sed pipe to see the full path of npm-cli)
whereis npm | cut -c 6- | xargs readlink -f | sed 's/.\{19\}$//'

# Go in there and install it manually. In my case it was the folder below... 
# NOTE: on mac its in /usr/local/lib
cd /usr/lib
sudo npm install npm@latest

[d2 ] Узнайте, где установлена ​​npm и перейдите в эту папку

cd `whereis npm | cut -c 6- | xargs readlink -f | sed 's/.\{18\}$//'`; cd ..; sudo npm install npm@latest
0
задан 6 September 2017 в 20:35

0 ответов

Другие вопросы по тегам:

Похожие вопросы: