Questions tagged [nodejs]

Event-driven I/O server-side JavaScript environment based on V8. Includes API documentation, change-log, examples and announcements.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
88 views

Does ubuntu 22.04 support the Node.js 20 version?

i'm using the node.js 12 as default supported version on ubuntu 22.04 and i want to upgrade it to 20 as the last LTS. but i need to know if it'is supported and can easly been installed or it needs ...
amal's user avatar
  • 1
0 votes
0 answers
31 views

uninstalling angular globally doesn't work

How can I fully uninstall angular in Ubuntu 22.04? (dimo-labeling) (dimo-labeling) mona@ada:~/dimo-labeling/frontend$ npm uninstall -g @angular/cli up to date in 164ms (dimo-labeling) (dimo-labeling) ...
Mona Jalal's user avatar
  • 4,545
-1 votes
1 answer
63 views

Error during apt upgrade for NodeJS

I encounter this problem while trying to sudo apt upgrade my system: Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_amd64.deb ... Unpacking nodejs (18.17.1-deb-1nodesource1) over (12.22.9~...
stealz's user avatar
  • 97
0 votes
0 answers
3k views

How to install Node JS latest version on Ubuntu 22.04?

Now, the latest version of Node is 20.11.0. However, every time I tried to install Node, it installed the 12.22.9 version. This commands is not working, every time it installed the same version 12.22....
David Gyulinyan's user avatar
1 vote
1 answer
755 views

Unrecognized accessed paths - is my server being attacked?

My website seems to be having some malicious visitors and crashing my site often. I am now tracking what they are doing on my site. In my log, I found out they are accessing the following paths ...
Run's user avatar
  • 2,638
0 votes
0 answers
169 views

Node.JS stuck at v14.20, I don't know how to update or even remove it

I don't remember how exactly I installed this version. Stupid, I know. When I do node -v I get v14.20.0. Trying to do sudo apt-get remove node (or nodejs) does not work. I want to remove this version ...
Tomáš Zato's user avatar
0 votes
0 answers
80 views

Version issues while installing node packages

I'm trying to install mongoose. I have rechecked my node and NPM versions and they are LTS versions. I have tried to use nvm use --lts too. But still I'm facing this issue which I attached below.
WhiteShadow's user avatar
0 votes
1 answer
116 views

Npx (node?) error on libstdc++.so.6 taken from "snap" folder

I have an error launching npx which refers to libstdc++.so.6 library: /snap/core20/current/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/...
Nik's user avatar
  • 21
0 votes
0 answers
92 views

NextJS 13 crashes my computer Ubuntu 22.04

So I recently updated from Ubuntu 20.04 to 22.04 (mainly to remove the SDA3 Crypt). I'm a an thus far except for one issue I keep facing. Everytime I run next dev, my laptop goes to 1 fps and ...
John Wayde's user avatar
0 votes
0 answers
65 views

Do multiple running instances of the same executable binary share the same RAM image?

If I have, say, two long-running Node applications (think Express), do the two instances of Node code share the same physical memory? Data segments certainly will be separate, but do all code segments ...
Old Geezer's user avatar
1 vote
1 answer
124 views

Cannot control terminal after installing Node

I can no longer control my Ubuntu 22.04 terminal. The terminal asks me to install ng-common and then I can't use the terminal. This is how my terminal currently looks like: I was trying to install ...
Sodiki's user avatar
  • 13
0 votes
1 answer
4k views

How to install and run pnpm?

When I try to run pnpm start after installed pnpm with this method: npm install -g pnpm, the result giving error:
Romjan Ali's user avatar
0 votes
0 answers
202 views

need help solving weird build failure using a Ubuntu machine

My best guess is that something is corrupted on the machine, but I have yet to figure out what. The machine is running Ubuntu 22.04. The issue is trivial to reproduce: yarn create vite my-vue-app --...
Eric G's user avatar
  • 101
0 votes
0 answers
222 views

Trouble with NodeJS and the npx command on 22.04 LTS

I am trying to create my first react app via the npx command. I found this answer to a question similar to mine. So I tried this: alias node='/home/sks/Downloads/node18.18.2/bin/node' alias npm='/...
sks's user avatar
  • 11
0 votes
0 answers
55 views

Ubuntu, Node.js, sqlcmd, sqlcmd-runner component: work locally (windows 10), restart (pm2) app.js on Ubuntu server, Why?

I code backend in Windows 10, vs-code, and upload code to Ubuntu server, node.js, MsSQL express. In my case, I need to make a new database for every customer, then dynamically create a database ( no ...
Ahmad Ebrahimi's user avatar
0 votes
0 answers
95 views

Create an "intranet-in-a-box" that hosts Node.JS web application and is accessible from wifi

I have an OrangePi5 running Ubuntu Server 22.04. Basically what I'd like is to have it host a node.js webserver application on the orangepi. I want to make a wireless network on this same OrangePi and ...
jamorales15's user avatar
1 vote
1 answer
816 views

How to deal with sh: 1: next: Exec format error?

I want to use npm to run a NextJS project on my Ubuntu 22.04 but every command gives me "sh: 1: next: Exec format error". Do you have any idea how to fix it?
Madosis's user avatar
  • 11
0 votes
0 answers
129 views

bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: Exec format error

I am trying to install nodejs on wsl but I faced this issue Commands I tried: brew install node brew link node node -version -bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: ...
userfh's user avatar
  • 1
0 votes
0 answers
49 views

node-rebuild error when installing React frontend on Ubuntu 16.04

I am trying to install React frontend on Ubuntu 16.04. I am using node version-14.21.3 and npm version:6.14.18. I am also using node-gyp global version 9.4.0. I am still getting a node-gyp rebuild ...
Nitesh Jha's user avatar
1 vote
0 answers
66 views

how to perform commands from the "login shell"

I noticed that several programs (ie webstorm) run with their own manager, and thus through the login shell (running through the jetbrains toolbox to manage versions and updates smoothly), which I ...
paul23's user avatar
  • 343
0 votes
0 answers
287 views

node_modules installation on external SSD fails with "EPERM" error when installing packages

I'm trying to install Node.js packages on an external SSD connected to my Ubuntu operating system. However, I'm encountering an error during the installation process. Here are the details: Operating ...
Pravin Kori's user avatar
0 votes
0 answers
53 views

Nodejs connect to mongoose failed on server(ubuntu 20.04), but worked on local

I am able to connect my node.js app via MongoDB url provided by mongodb.com. But in the server(ubuntu 20.04), it,s not connecting. I am sure the database URL is accurate on the server. Also the server ...
Tofazzal haque's user avatar
0 votes
1 answer
263 views

Change node level without invoking nvm

Looking to switch to a different node release without using nvm as I am struggling to use nvm right now. I am updating angular from 14 to 16 on ubuntu 22.04.2 LTS. After the update from 14 to 15, I ...
Michael Casile's user avatar
0 votes
1 answer
577 views

What is meant by needed in Ubuntu CVE status?

In the below link, the status of the CVE shows needed for nodejs and jammy. What does it mean? https://ubuntu.com/security/CVE-2021-3449
noonenine's user avatar
0 votes
0 answers
234 views

How can I fix the vulnerability CVE-2021-3449?

I have installed nodejs package (version 18.16.1-deb-1nodesource1) on Ubuntu 22.04. Trivy vulnerability scan identified CVE-2021-3449. It is related to OpenSSL version 1.1.1 to 1.1.1j. But the OpenSSL ...
noonenine's user avatar
0 votes
0 answers
562 views

Issue with node version

I'm trying to run the following command in a Angular project "npm run ng", but I'm getting a warning that my Node.js version is incorrect. Node.js version v10.23.0 detected. The Angular CLI ...
Damian Mamak's user avatar
0 votes
1 answer
60 views

Does Ubuntu Studio require or recommend its own packages for node, react, python core or libraries?

I use Blender weekly and Darktable, OBS, Krita enough to consider Ubuntu Studio as the heart of a new workstation I'm building. VSCode with one or more node, react, python Workspaces are running 100% ...
smcnally's user avatar
  • 406
0 votes
1 answer
514 views

dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Trying to Install a specific version of NodeJS on Ubuntu 22.04.2 LTS

Im trying to install NodeJS version 14 On Ubuntu 22.04.2LTS but this error pops up dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Here's the Full log if anyone needs it: Reading ...
James Vincent's user avatar
1 vote
0 answers
51 views

npm package connect-pg-simple webpack issue while creating session

Getting issue with [email protected] package while building app using webpack Line of code generating below issue "ERROR in ./node_modules/connect-pg-simple/index.js 82:4 Module parse ...
Amanpreet Singh Khanna's user avatar
0 votes
0 answers
49 views

qemu:Nodejs test is failing with tls_setup_handshake:no protocols available::/usr/src/debug/openssl/3.1.0-r0/ssl/statem/statem_lib.c:104 on Qemu

I have tried to run nodejs tests on qemu target but parallel/test-tls-getprotocol is failing with below error === release test-tls-getprotocol === Path: parallel/test-tls-getprotocol node:events:491 ...
archan's user avatar
  • 1
1 vote
1 answer
532 views

Error while using create-react-app

During an attempt to install create-react-app on my os (unbuntu 22.04), I got this output from the terminal. t*****@poudlardo:~$ sudo npm -g install create-react-app ERROR: npm v9.6.4 is known not to ...
Poudlardo's user avatar
0 votes
0 answers
139 views

VPS Discord.js Music Bot 410 Error

i trying download youtube video and i getting error 410 have someone idea how to fix that i using version 20.04 for downloading i using nodes code: const fs = require('fs'); const ytdl = ...
Kubadesek's user avatar
0 votes
0 answers
387 views

NPM install fail unless --no-bin-links is used. Why is that? Probably Ubuntu file permissions, still unsure

There's a lot going on with this drive and I'm not sure where to start troubleshooting. I have a HDD which is partitioned to have 10GB of unallocated space. I formatted as FAT32 and mounted that ...
Drwooi Poipoi's user avatar
0 votes
1 answer
425 views

While installing nodejs 18.15.0 LTS via curl the file nodesource_setup.sh contents a 404 error

the command is curl -sL https://deb.nodesource.com/setup_18.15.0 -o nodesource_setup.sh look like the setup file is wrong as it says "404" as file content. Is it something being done wrong ...
Ashok's user avatar
  • 3
0 votes
0 answers
333 views

Ubuntu 22.04 resource (cpu, ram, swap) issues

I am on a fresh Ubuntu 22.04 installation on a ThinkPad E15 (16gb ram, 512gb ssd, [email protected] x8, Radeon 550x). The system is used to run 7 docker containers and multiple node processes (in ...
J. Samak's user avatar
2 votes
0 answers
439 views

node-acorn installation problem with apt

Trying to run sudo apt install node-acorn produces an error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable ...
Iiro Ullin's user avatar
2 votes
1 answer
1k views

Installing latest NodeJS on Ubuntu 22.04 via WSL on Windows 11

I am in Ubuntu 22.04 via WSL on Windows 11. curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - is returning : ## Installing the NodeSource Node.js 18.x repo... ## Populating apt-get ...
anjanesh's user avatar
  • 623
0 votes
1 answer
3k views

Unable to install nodemon globally on ubuntu 22.04 LTS

Initially I installed node using the command sudo apt install nodejs. This command installed an older version of node and npm so I removed the package using the command sudo apt-get remove --purge ...
Robin Sharma's user avatar
1 vote
1 answer
133 views

Terminal black screen after deleting and reinstalling Node and npm

I was facing a problem with Node.js, so I decided to uninstall npm and node completely and reinstall them. Now I have a black terminal with no text, and I'm not able to type anything either. I haven'...
Maryam Chouaïbi's user avatar
0 votes
1 answer
983 views

Unable to run "nvm install --lts"

I get this error. Installing latest LTS version. curl: error while loading shared libraries: libkeyutils.so.1: cannot open shared object file: No such file or directory Version '' (with LTS filter) ...
taco-legs's user avatar
0 votes
0 answers
106 views

Trying to update Node version: The following packages have unmet dependencies: mongodb-org

This is my Dockerfile and it runs without problems: FROM node:12 as build # Install mongo in container for mongodump command RUN wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | apt-key ...
Tom Bom's user avatar
  • 101
2 votes
2 answers
2k views

Ubuntu 20.04 terminal has no prompt after setting up node for setting up Angular environment

When I open terminal, I see no prompt. Pressing any button does not help. I have seen this question, but no solution works as I can't enter commands at all. Terminal is just there, doing nothing. I ...
SZ.'s user avatar
  • 33
0 votes
0 answers
257 views

Resolving default port 443 takes forever

I have an expressjs server for my website. During development, it worked perfectly and while in deployment, I tried changing to default port 443 to get rid of the port in the url. However, this ...
Muhammad Yahya Warraich's user avatar
0 votes
1 answer
135 views

nodejs seems to be installed but it1s not available [duplicate]

I am having trouble with installation of nodejs version 16 (I tried with v14 and v18 with same results). The default version for ubuntu is v12 but I need higher. I followed instructions from https://...
cseha's user avatar
  • 3
0 votes
1 answer
106 views

Installation exits before I can press Y to continue when installing nodejs

Im a new Ubuntu/Linux user and im having a bit of trouble installing nodejs. I tried installing it using sudo apt install nodejs and it returned this: Building dependency tree Reading state ...
Eclipz's user avatar
  • 1
-1 votes
1 answer
270 views

NODE_SKIP_PLATFORM_CHECK in exe file

I need to run exe file in linux, but when i try to do it i see this : How can i fix this? I use Kubuntu 20.04 I know that I can run this program by source code, I need to run it through the exe file
EuTy's user avatar
  • 85
0 votes
1 answer
2k views

Websocket sending blob object on live server and string on local server

I am new to Ubuntu and recently created a project with WebSocket. Everything works as expected on local server but on live server I get following error: Uncaught SyntaxError: Unexpected token 'o', &...
Dev Chauhan's user avatar
1 vote
0 answers
126 views

Installing Nodejs 16 on remote ubuntu 18 I see old nodejs 14 version?

I want to upgrade nodejs on my remote ubuntu 18. I run update commands, I do not see any errors, but checking node version at the end I see old 14 version... root@nsn-do-lamp:~# uname -a Linux nsn-do-...
mstdmstd's user avatar
  • 173
1 vote
1 answer
2k views

I tried to install NodeJS v14 and broke everything, how to install new version without breaking dependencies?

So I found out that for some reason, unlike on Windows you don't just get to chose your NodeJS version. When I install it normally, I get version 10, via command: sudo apt-get install nodejs Tried on ...
Tomáš Zato's user avatar
0 votes
0 answers
527 views

Why does apt package manager on ubuntu 22.04 install a very old version of nodejs(16)

GNU nano 6.2 /etc/apt/sources.list M deb http://us.archive.ubuntu.com/ubuntu/ jammy main universe restricted I upgraded to 22.04 because I wanted to install a ...
onedumbquestion's user avatar

1
2 3 4 5
12