Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Errors on "npm install -g n"

Tags:

node.js

npm

I was trying to install node version controller when i ran into this..

errors on console this is my PC configuration

My Laptop Configuration

Thanks for help in advance..

like image 882
Muhammad Faizan Avatar asked Jun 07 '26 00:06

Muhammad Faizan


1 Answers

As i could read from the comments, you are trying to install n because you wanna use KoA

But Koa itself has nothing to do with n. n is basically just a Support-Application which makes it easy for you to install and switch between whatever Node-Version you want by a single CLI-Command. Since you need Node > 0.11.x for KoA, they say on their page to install n so you can, after trying KoA, switch easily back to a stable Node-Version.

Im afraid you have no other option than manually downloading the latest Node-Unstable Version from their page and install it "by hand".

like image 107
David Losert Avatar answered Jun 10 '26 17:06

David Losert



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!