This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
"npm i npm" creates package-lock.json file and does not update the version of npm. #20648
Comments
do |
Sounds like a problem with your path. Try |
/home/synerzip/.npm-global/bin/npm |
@saurabhghewari what are the results of |
да у меня такая тоже проблема незанаю как решить |
я нашел решение npm config set prefix /usr/local и все у меня заработало ! у вас наверное что то напутано с путями как и у меня . у меня mac os x и после этой команды я сделал sudo npm install npm@latest -g и вуаля все обновилось ! вот где я взял информацию |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi NPM Team,
I am trying to update the npm by using the command npm i npm as suggested in terminal when there is an update. Following are my observations
Platform Details:-
OS:- Ubuntu 64bit.
NODE:- 8.11 LTS
Why is updating npm saves npm as dependencies if command is run from some project folder?
Why is not updating itself?
Please help in this, as I dont want to use YARN.
The text was updated successfully, but these errors were encountered: