downgrade node or npm

  npm -v

 2013  node -v

 2014  npm -v

 2015  sudo update-alternatives --config node

 2016  sudo update-alternatives --config npm

 2017  sudo npm install -g npm@8.19.2

 

i have node is 20.5.1 i have npm is 9.8.1 i wanna downgrade npm to 8 to 9 and node is 16 to 17


2018  npm -v

 2019  nvm install 17.9.1

 2020  sudo npm install -g n

 2021  sudo npm install -g npm@8.19.2

 2022  npm -v

 2023  which node

 2024  which npm

 2025  sudo apt-get install -y npm

 2026  npm -v

 2027  node -v

 2028  npm install

 2029  sudo n 16.20.0

 2030  nvm install 16.20.0

 2031  node -v

 2032  npm -v

 2033  npm install

 2034  npm run dev

 2035  npx mix

 2036  npm install

 2037  npm run dev


No comments:

Post a Comment

Event listening in react

 How we can listen to som eevents some envents fire like click or automatically user enters into input button , that is event on word type i...