...Y la tierra se hace mi trono... [Pentium 4 Northwood 2 Ghz, WinXP, 512MB PC133, HITACHI 250 GB@7200RPM] <-- ingesteld in 2001 lol
Vraag
Alle reacties
nodejs is already the newest version (14.21.3-deb-1nodesource1).
...Y la tierra se hace mi trono... [Pentium 4 Northwood 2 Ghz, WinXP, 512MB PC133, HITACHI 250 GB@7200RPM] <-- ingesteld in 2001 lol
Omdat node dan alsong de path uitvoert, en niet in de huidige folder.Maar het wordt nog gekker. Als ik naar de map /usr/bin ga, en dan het commando 'node' uitvoer dan krijg ik dit:
Verder maak ik gebruik van https://github.com/nvm-sh/nvm
Lekker makkelijk om alles te beheren omtrent node.
[ Voor 19% gewijzigd door Christoxz op 30-11-2023 12:35 ]
Ik krijg deze: /usr/local/bin/nodeChristoxz schreef op donderdag 30 november 2023 @ 12:34:
Wat krijg je als je `which node` uitvoert?
[...]
Omdat node dan alsong de path uitvoert, en niet in de huidige folder.
Verder maak ik gebruik van https://github.com/nvm-sh/nvm
Lekker makkelijk om alles te beheren omtrent node.
...Y la tierra se hace mi trono... [Pentium 4 Northwood 2 Ghz, WinXP, 512MB PC133, HITACHI 250 GB@7200RPM] <-- ingesteld in 2001 lol
jp@zeus:~$ /usr/bin/node --version
v14.21.3
jp@zeus:~$ nvm uninstall v14.21.3
N/A version is not installed...
jp@zeus:~$
...Y la tierra se hace mi trono... [Pentium 4 Northwood 2 Ghz, WinXP, 512MB PC133, HITACHI 250 GB@7200RPM] <-- ingesteld in 2001 lol
https://github.com/nodeso...buntu-based-distributions
...Y la tierra se hace mi trono... [Pentium 4 Northwood 2 Ghz, WinXP, 512MB PC133, HITACHI 250 GB@7200RPM] <-- ingesteld in 2001 lol
Standaard is /usr/local/bin eerder dan /usr/bin in $PATH. De vraag is dan, wat heb je gedaan om node in /usr/local/bin te hebben? Dit komt niet via je package manager, want dan had apt je wel verteld dat je iets nieuwer had dan 14.
Commandline FTW
...Y la tierra se hace mi trono... [Pentium 4 Northwood 2 Ghz, WinXP, 512MB PC133, HITACHI 250 GB@7200RPM] <-- ingesteld in 2001 lol