[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: NPM.jpg (91 KB, 953x403)
91 KB
91 KB JPG
>work requires me to install shit with npm
>can't get npm to do anything
>always get picrel error
REEEEEEEEEEEEEEEEEEEEEEEEE

>use something else
Tell that to my boss. I have to use this.
>>
>>101583698
works on my computer
>>
>>101583717
REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
It's my piece of shit distro that's what it is. Linux Mint: never again. I'm going to Manjaro kek lmao
>>
>>101583742
Through trickery most foul. I'm a tourist btw. Not a habitual /g/ poster. So yeah, I'm employed.
>>
>>101583740
its you being mentally retarded, how are you unable to resolve a filepath
>>
>>101583765
>>101583698
get off this board now, normalfag
>>
>>101583698
>>101583740
Gentoo doesn't have this problem.
>>
File: 1717723726871814.gif (344 KB, 500x491)
344 KB
344 KB GIF
>>101583698
>>101583740
>>101583765
>struggling with baby first distro
>errm unlike you i have a job m'okay

LMAO pottery, GO BACK
>>
>everyone laughing
>not 1 faggot knows how to actually help
You guys are the ones known for being unemployed, not me
>>
>>101583740
Distro is irrelevant, use a container.
>>
>>101583698
have you tried restarting the terminal?
>>
>>101584099
>checked
Explain how like I'm a retard with brain damage. You mean use Docker?

>>101584108
lmao I've even tried reinstalling node and npm
>>
>>101583780
what filepath?

>retarded
sorry for never using node before
>>
>>101584113
Yes, Npm is bloated cancer, less than Python but still enough to be worth putting it on its own tard box so it doesn't shit the bed. Plenty of guides online of how to setup this. Hardest part is learning to make a dockerfile.
>>
>>101584098
it seems like the core node runtime needed for node itself can't be found. theres a 99% chance op did something utterly retarded, like drag and drop the node executable from a thumb drive onto his laptop and tried to run it, or something similarly dumb.
>>
>>101583698
Nigga use nvm to update your node version
>>
>>101584489
>theres a 99% chance op did something utterly retarded, like drag and drop the node executable from a thumb drive onto his laptop and tried to run it, or something similarly dumb.
It's Linux with internet, so I wouldn't do that. All I did was something like
# npm was giving OP error
sudo apt autoremove npm
sudo apt autoremove node
sudo apt-get install nodejs
# npm still giving OP error
>>
>>101583698
>doesn't use nvm, and also lacks any semblance of basic troubleshooting skills
many such cases
>>
>>101583698
kys you retarded gorilla nigger
>>
>>101583698
npm truly sucks
they could learn a lot from maven
>>
>use node.js from 2017
>end-of-life was 2020
>guys why doesnt software from 2024 target this?
based retard
>>
>>101585936
It's not my fault apt installs old software. Is this all unironically because my nodejs is old? Btw I'm not 'based' because I'm not intentionally choosing outdated versions (in this moment)
>>
>>101586020
You don't install npm with apt. Holy shit. What is your job title?
>>
File: OG_loc.jpg (45 KB, 396x463)
45 KB
45 KB JPG
>>101586077
Checked
Senior Platform Developer
$350/year + free benefits and travel
>>
>>101583698
>he installed nodeJS from his package manager
>>
>>101586128
fuck off p*do
>>
>>101586135
I'm starting to understand what I did wrong. I trusted apt
>>
>>101586174
ALL pedophiles are retarded!
>>
>>101586165
uninstall the version from apt and get the version from the nodejs repo.
>>
>>101583698
>node 10
How?
>>
>>101586020
Is Ubuntu's fault, really, whom Mint uses. They half ass the packages on their repos to shill Snap.
>>
>>101584691
>apt-get
It's a deprecated repository. You're shit at computers.
>>
You have to install nvm so you can switch between nodes
>>
YOU'RE FUCKING RETARDED OP. KYS RETARDED SUBHUMAN.
>>
>>101587422
I knew that. I was just expecting Linux Mint to be better. That's what I meant when I said it's my distro.
>>
>>101587454
The fact that child diddlers on /g/ call others subhuman is the definition of clown world irony. You do realize there's not one thread in this cesspool without an unironic pedo surfacing right? Jannies just don't care either.
>>
File: 1665407313144577.png (111 KB, 341x320)
111 KB
111 KB PNG
>>101587422
I've unironically been using apt-get over apt for years because it looka cooler
>>
>>101587422
>>101587754
Theye both pull packages for the same shit, Ubuntu's repos are just becoming half assed as they push their Snap shitware.
>>
Gonna try and fix this by cloning from Github on my Mint server, and also by migrating my primary development environment onto Manjaro. So long Debian. You've been great.
>>
>>101583698
>10 years old node version
>something does not work

he literally got filtered with the fucking program
>>
>>101583865
based
>>
>/g/ supposed to be the smartest board
>thread meltdown over beginner level node.js
this is why teachers need to give cs students a week to install an IDE
>>
You also need to install a bunch of crap when using Go, Rust, Java, C# etc. Don't act like that's a node problem, that's a web-dev problem. Also, you probably installed node from scratch, I recommend you using some external program instead of raw dog node. Try FNM or NVM. Are you using bash?
Also:
>v10.19.0
Kek
>>101583865
Based.
>>101584098
I'm trying to help, but OP needs to learn to be humble.
>>101586077
That's /g/ for you. A bunch of pretentious faggots. God I hate web-dev, but when I needed to do that, it was easy as fuck. Just installing fnm solved most of the problems, although I'm not a big of 3rd party applications.
>>
>>101590730
>that's a web-dev problem
wtf is this nigger, you will need to analyze each new cmake every time you package a c/c++
>>
File: 1701145957859004.png (38 KB, 811x435)
38 KB
38 KB PNG
open google dot com
type "node js"
click on the first link which is node.js official website
click download
select "Linux"
do picrel
everything works perfectly every time

are you retarded?
are you so retarded you got angry at the easiest to use software for children?
did you not try to google your error?
did you not try googling "how to actually install node js correctly on linux mint"?
did you make this thread for fun?

thank God you don't have to write C++ for a job or something



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.