Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 votes
1 answer
115 views

OpenSSL config cuases error in node js crypto. How should the config be updated?

This was originally posted to the nodejs Github issues page, but it appears that it is an issue with Ubuntu 22.04, so I'm re-posting it here hoping to get further advice. The original thread on Github ...
user avatar
0 votes
1 answer
23 views

Error installing gtop on Ubuntu 22

I just installed ubuntu on my work machine and trying to get gtop working on it. It's saying I'm missing the node:process package, but I'm not able to find any solutions. I figured that the easy ...
user avatar
0 votes
0 answers
15 views

npx qx doesnt run

I am trying to create a qooxdoo project using the documentation. when I install @qooxdoo/framework either globally or locally via npm install I get the following error when I run npx qx internal/url....
user avatar
0 votes
0 answers
11 views

unable to implement the flow of azure ad b2c google login with reactjs and nodejs

I am trying to connect my frontend reactjs app and backend nodejs app for registering and login using azure ad b2c with google as identity provider I did all settings as per this https://docs....
user avatar
2 votes
1 answer
174 views

20.04 vs. 22.04 inside docker, with a 16.04 host == thread start failures?

I wouldn't believe it if it wasn't right in front of me. So this is obviously an old host, I'm not even looking for a fix just telling you what I'm seeing so the next poor soul to google this nonsense ...
user avatar
0 votes
1 answer
87 views

Can't Install NodeJS 16 with curl

I've recently upgraded one of my virtual machines on DigitalOcean with Ubuntu 22.04. Upon installing Node with the following command I receive an error: "## Your distribution, identified as "...
user avatar
  • 11
1 vote
1 answer
107 views

netstat not showing any process running on any port in WSL Ubuntu in Windows 10

I have set up a nodejs server on 8080 port. When I put this command in the WSL Ubuntu terminal, it shows no results: netstat -a | grep :8080 However, when I check this using Windows PowerShell ...
user avatar
  • 131
0 votes
1 answer
3k views

Node.js is installed but not working

Node.js is installed but not working. How to solve it? $ nvm install node Downloading and installing node v18.0.0... Downloading https://nodejs.org/dist/v18.0.0/node-v18.0.0-linux-x64.tar.xz... #######...
user avatar
  • 469
0 votes
0 answers
9 views

Error while trying to install nodejs via package manager on Ubuntu 20.04.4 LTS

I am unable to install nodejs via package manager on my PC. I tried it by seeing videos on Youtube but i am unable to do so.. Can someone help me please..
user avatar
0 votes
1 answer
44 views

Not able to install Node 14+ on Ubuntu 20.04

I tried installing Nodejs 14+ version on my Ubuntu 20.04 using nvm and nodesource PPA with both Sudo and normal user. But I am still getting permision required error.
user avatar
0 votes
1 answer
18 views

Appropriate way to make nvm-installed versions of Node usable in Kubuntu Application Menu/Launcher?

When installing node with nvm, it works great in the terminal - you can run node applications with node path/to/app.js, as you'd expect. However, if you create an Application Menu launcher in Kubuntu/...
user avatar
  • 171
0 votes
1 answer
56 views

Is i3 4gb ram ok for ubuntu installation [duplicate]

I want to switch from win to linux. My laptop has i3 and 4gb ram, 500gb hdd. Could you please tell me if ubuntu 20 would run smoothly on it? Will nodejs, vs code, gimp etc run smoothly on it. Please ...
user avatar
  • 1
0 votes
0 answers
25 views

How to remove suspend\hibernate mode to allow node program to run continuously

I work with Ubuntu 20.04.3 on a PC. I have created a node.js script that collects data on website. I would like to leave that script running continuously for a few days, but the script stops when ...
user avatar
1 vote
0 answers
2k views

Why is these error? DeprecationWarning

(node:44809) [LRU_CACHE_OPTION_maxAge] DeprecationWarning: The maxAge option is deprecated. please use options.ttl instead (Use node --trace-deprecation ... to show where the warning was created) sh: ...
user avatar
0 votes
0 answers
143 views

Error while installing node js and npm lts version (UBUNTU 20.04 LTS Desktop) [duplicate]

I am getting an error whenever I am running this command- curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - And here is the full error log:-- ## Installing the NodeSource Node.js 16....
user avatar
2 votes
1 answer
39 views

Unable to compile 'syllable-5.0.0' (tar.gz) because node is not 12+ [duplicate]

I am on Ubuntu 20.04. I am trying to install a syllable counting program from source. Ref: https://github.com/words/syllable From readme.md This package is ESM only: Node 12+ is needed to use it and ...
user avatar
0 votes
0 answers
183 views

Not able to install npm, Unable to correct problems, you have held broken packages. 20.04 [duplicate]

Hi all I am trying to install npm after having installed nodejs but it gave me the following error "E: Unable to correct problems, you have held broken packages." . If I install singularly ...
user avatar
  • 33
1 vote
1 answer
164 views

Nodejs appear installed but "--version" is not working. On Ubuntu 20.04 LTS

I am having trouble in installing nodejs, npm and a specific version of angularCli. THe problem is that nodejs appears installed when I use the command sudo apt install nodejs but appears not ...
user avatar
2 votes
0 answers
40 views

Can't build my react in ubuntu without sudo

I have a react project and want to get a build. When I run yarn to install packages, it works fine and installs all packages. after I run yarn build , I get so many nonsense typescript errors like ...
user avatar
1 vote
0 answers
82 views

Systemd running old version of NodeJS

I am trying to running a server through systemd. However, I am getting an error due to a dependency needing an updated version of NodeJS. The default version of Node on Ubuntu always seems to be 10.19....
user avatar
1 vote
0 answers
575 views

node -v: Command 'node' not found (but node is installed)

I am facing a strange issue while using nodejs. When i try to run node -v i get this: Command 'node' not found, but can be installed with: sudo apt install nodejs And when i try to run npm -v i get ...
user avatar
  • 11
0 votes
1 answer
554 views

nvm can't install node

I am trying to install a stable version of node, which is now at 16.x. Ubuntu's repositories are at 10.19. I tried to use nvm and had these results: @nspiron-N5010:~$ nvm install 16.10.0 Downloading ...
user avatar
  • 1
7 votes
2 answers
14k views

npm does not support Node.js v10.19.0

npm does not support Node.js v10.19.0 You should probably upgrade to a newer version of node as we can't make any promises that npm will work with this version. You can find the latest version at ...
user avatar
0 votes
0 answers
99 views

Hyperledger Caliper Error 6

Good afternoon people; I'm having problems running a performance test using hyperledger caliper. I followed the tutorial provided at https://hyperledger.github.io/caliper/v0.4.2/fabric-tutorial/...
user avatar
1 vote
1 answer
107 views

Getting error while installing Nodejs

Following the Option 2 from https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04 : $ cd ~ $ curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh $ ...
user avatar
  • 581
0 votes
1 answer
2k views

How to install node.js 16.13.1 [duplicate]

I want to use npm but it tells me on every command "npm does not support Node.js v10.19.0" so I want to update my node.js. I performed sudo apt update I tried to install it with sudo apt ...
user avatar
0 votes
0 answers
130 views

error: paste subprocess was killed by signal (Broken pipe)

I tried to update nodejs to the current version and it broke the version I had installed, so I ran "sudo apt --fix-broken install" and that did not fix it so then I used sudo apt autoremove ...
user avatar
0 votes
0 answers
169 views

Why won't node update on Ubuntu, but has on Powershell?

Every time I start my ubuntu terminal I get this message saying the latest version of npm does not support my current version of node(15.13.0), but I went to [Nodejs][1] and installed v 16.13.0 ...
user avatar
0 votes
1 answer
210 views

Ubuntu 20.04.2 Not Working With MySQL 8.0.27 . .

I never had this problem when on Windows. For some reason, I can't get any effect whatever when trying to connect to a local MySQL database from a local Node.js app. Everything traceably works in the ...
user avatar
  • 157
0 votes
0 answers
159 views

2 issues after upgraded to Ubuntu 21.10

I'd been using Ubuntu 20.04 installed (alongside with Windows 10 on physical PC) with no issue. A couple of days ago, I attempted to upgrade to Ubuntu 21.04 then 21.10. The upgrade process ran into ...
user avatar
0 votes
4 answers
1k views

How to install npm with LTS version of Node.js?

I don't understand why there is no simple way or explanation in the entire web on how to do this. sudo apt install npm installs npm with Node version 10.19.0, but I want to install the LTS version (16....
user avatar
0 votes
0 answers
28 views

how to see screen node command logs

Im running this command on my ubuntu 20.04 screen -S api -dm node api/index.js But the screen session ends after 2 seconds, is there a way to see the logs of the screen session?
user avatar
0 votes
0 answers
37 views

Upgraded to 21.10, now getting socket error `Error: Command failed: cat /sys/fs/cgroup/memory/memory.stat` using Node.js

Last night I upgraded my Ubuntu to version 21.10 using the automatic installer. Now I am unable to execute my Node.js application I am working on for my job. I'm getting two different errors: Error: ...
user avatar
  • 176
1 vote
2 answers
196 views

problem with ubuntu 21.10 and nodejs [duplicate]

I just upgrade my Ubuntu from 21.04 to 21.10. I did the upgrade by the do-release-upgrade command so, the upgrade is finished and my problems begin: I use GO and nodejs packages, after upgrading the ...
user avatar
1 vote
1 answer
391 views

broken packages error while installing npm on ubuntu

I'm trying to install gtop on my Ubuntu machine. For that I need to install nodejs and npm package manager. First I installed nodejs with sudo apt install nodejs and it get installed fine, but for ...
user avatar
0 votes
0 answers
44 views

Installation Ubuntu server on top of an existing one

Actually I'm developing a web application using PHP and realtime Chat application and notications using NodeJs. In a Local network There is an ubuntu server to connect some windows machines to make a ...
user avatar
0 votes
1 answer
319 views

Installing yo & generator-code on xubuntu

So I have been trying to install yo & generator-code for xubuntu to try making some vs code extensions, I installed nodejs & npm via sudo apt-get then did sudo npm install -g yo generator-code ...
user avatar
0 votes
1 answer
38 views

what's the canonical way to install nodejs on an Ubuntu desktop (21.x)? [duplicate]

I understand that apt is NOT the regular way I see 3 options: download and run an opaque script from the nodejs sites umake (https://wiki.ubuntu.com/ubuntu-make) asdf (https://asdf-vm.com/) I'd like ...
user avatar
0 votes
0 answers
47 views

EACCESS - Permission denied - Reading file using fs in Node through docker-compose

I've invested/wasted more than 5 days now trying to run an Open-source ERP system, Gauzy, in Ubuntu 20.04. What I've been facing is that this software is run by using command docker-compose up and the ...
user avatar
0 votes
1 answer
1k views

Error Upgrading Nodejs [duplicate]

└─# apt-get upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following ...
user avatar
0 votes
1 answer
146 views

Start service after all http handling services have started

I have been puzzling over this one for a while now and I have managed to refine my issue to one problem. I have a service which is supposed to run a shell script to start daemon processes (using nohup)...
user avatar
0 votes
1 answer
180 views

Error Running npm run dev in Vagrant and VirtualBox: Cannot find module 'webpack'

To give a little context of my problem, here's my local setup: Vagrant 2.2.16 VirtualBox 6.1.26 Ubuntu 20.04 LTS npm v7.20.6 node v16.6.6 At first, I had a very hard time installing webpack-cli ...
user avatar
  • 1
1 vote
0 answers
3k views

node:internal/modules/cjs/loader:936

After install Node.js and NPM with commands (sudo apt update && sudo apt upgrade, sudo apt install nodejs (v16.7.0), sudo apt install npm(7.20.3)) in Ubuntu 20.04, I receive message bellow : ...
user avatar
  • 11
0 votes
0 answers
38 views

How can i regain access to my files on my server

I switched user after creating a user on my server from root, I then blocked root log in, shortly after during my setup I wanted to push to github but the ssh public key permission was denied, I then ...
user avatar
0 votes
1 answer
26 views

Run multiple version of NodeJs

I am in a situation where I am managing a server with 2 different projects that run different version of NodeJs and possibly React. The projects are developed by 2 different programmers, so I just ...
user avatar
0 votes
0 answers
121 views

find -f results in unknown predicate in ubuntu, but works in macOS

I'm attempting to set an environment variable with the following script. find -f ./node_modules/@marcom/*/src/scss -type d -d 0 | tr $'\n' : This exact script works fine in macOS, however when I push ...
user avatar
0 votes
1 answer
3k views

npm command not found in wsl

I had installed nodejs on windows10 & its path is also set to environment variable. It is working perfectly. As I switched to WSL I found npm commands were not working however I could run node.exe ...
user avatar
0 votes
1 answer
153 views

How to fix: dpkg: Warning: Files list file for package nodejs-doc missing?

So i completely removed Nodejs by running file manager as Root and deleting every search hit for "nodejs". ' After i installed NodeJs again i get the following warning everytime: dpkg: ...
user avatar
2 votes
2 answers
12k views

Update NodeJS from 10.19.0 to 14.17.3 LTS in 20.04

I am using Ionic and my builds are failing. It says I need to have the latest npm and node.js. Sadly, my attempts so far from another topic and sudo apt-get update and sudo apt-get upgrade etc is ...
user avatar
  • 3,381
0 votes
0 answers
207 views

Why I don't have the latest node version?

I installed node with the command sudo apt install nodejs, and then I check the version with the command node --version and i Get that I have v12.21.0 node version. But on nodeJS website I see that ...
user avatar
  • 1

1
2 3 4 5
12