Skip to main content

Questions tagged [npm]

node package manager is a package manager for node.js

Filter by
Sorted by
Tagged with
2 votes
0 answers
49 views

Somewhat floundering. I'm trying to install and run an open-source app called "Swordfish", which is a CAT (computer-assisted translation) app. I've never really built from source before in ...
mike rodent's user avatar
  • 1,226
0 votes
1 answer
119 views

In our Dockerfile we have: FROM ghcr.io/puppeteer/puppeteer:latest AS pdf WORKDIR /puppeteer USER root # Prerequisites RUN apt-get update && apt-get install nginx -y # Update RUN npm update ...
Danny Beckett's user avatar
0 votes
1 answer
285 views

I have created a desktop shortcut for a npm application called TMXEditor, but it doesn't work. I can launch the app if I do cd /home/souto/Apps/maxprograms/TMXEditor && npm start on a terminal....
msoutopico's user avatar
0 votes
0 answers
43 views

So there's a lot here probably best explained by copy-pasting what happened on the terminal but the problem is I currently cannot open any windows that are already minimized, except Discord since it ...
itsnotworkingandimscared's user avatar
-1 votes
1 answer
578 views

I run sudo npm install -g @angular/cli got sudo: npm: command not found Let's check nvm install v20.0.0 v20.0.0 is already installed. Now using node v20.0.0 (npm v9.6.4) and which npm /home/miki/....
MikiBelavista's user avatar
1 vote
2 answers
2k views

I can say I went through all Google results regarding this, but no one works. The GNU libc version is very old: ldd (GNU libc) 2.17. Trying version up to nodesource 8.x all installations fails because ...
Peter VARGA's user avatar
  • 1,082
1 vote
1 answer
312 views

I am attempting to install sodium native as an npm package on OpenBSD 7.3 amd64. Aside: As a dependency of Hypercore, Hyperbee and Corestore. This needs node-gyp. Following this, I set the C and C++ ...
Lee's user avatar
  • 549
2 votes
1 answer
2k views

When I run buildah bud, I'm getting the following error. npm ERR! code EMFILE npm ERR! syscall open npm ERR! path /root/.npm/_cacache/index-v5/cd/a5/...
Evan Carroll's user avatar
  • 35.2k
2 votes
2 answers
5k views

wscat broken - any ideas why - I use this tool a lot, never seen this before. Ubuntu 20.04 # npm install -g wscat added 9 packages in 2s root@simp:~# wscat node:internal/modules/cjs/loader:988 ...
guesty's user avatar
  • 309
0 votes
2 answers
429 views

I have downloaded the nodejs repository from nodejs website and I want to install it via node file in bin directory and I want to install it with gdebi or software installer app but the errors are: ...
mohammad's user avatar
1 vote
0 answers
190 views

My understanding is that pnpm is designed to be a drop-in replacement for npm. However, I'm not sure if this is true for all cases. Is it safe to just delete npm and symlink in pnpm or will that break ...
ScottishTapWater's user avatar
0 votes
0 answers
834 views

Consider a string stored in a file, which I need to read and pass to a Node script via NPM. But the string in the file contains a $, and is being interpreted as a variable and is replaced before being ...
Josh M.'s user avatar
  • 240
2 votes
0 answers
678 views

I'm about to deploy a highly secure production server, which is running an nginx reverse proxy, which points to the backend server on nodeJS. When a user starts the server by typing in the "pm2 ...
Andrew Elkhoury's user avatar
1 vote
1 answer
769 views

I am looking for a bash/zsh hook, that is invoked when a command is not found. Say I run some arbitrary executable: xyz foo --bar say that bash/zsh cannot find the executable. is there a way to handle ...
Alexander Mills's user avatar
1 vote
1 answer
810 views

The latest tails comes with nodejs v10.24.0. Trying to get tails to run a newer node has been unsuccessful even after running script from deb.nodesource.com/setup_14x which said buster was unsupported....
DavesPlanet's user avatar
0 votes
1 answer
467 views

I have installed coc.nvim and am now installing the dependencies. To do this I need to install npm. The command I'm using to install npm is sudo apt-get install npm. However, I get this error when ...
callmetan7's user avatar
0 votes
0 answers
173 views

0 8 * * * /usr/local/bin/npm --prefix /root/myscript run start > /root/logs I can see at the log file that this script STARTS execution at 8am. Although, if the script does exceed more than 60 ...
surfboardcompound's user avatar
0 votes
1 answer
880 views

I am using Manjaro and have downloaded google-chrome-stable from the AUR package. Even though google chrome is set as a default browser, npm start still defaults to opening firefox, after I deleted ...
dracarys's user avatar
  • 101
0 votes
1 answer
482 views

I'm connected via PuTTY ssh to a Linux Server (so it's not supposed to have a GUI). when I npm install something, due to some intranet network configuration, the http request is redirected as follows ...
Giulio's user avatar
  • 125
0 votes
0 answers
257 views

I need to install socket.io for my node program. So, whenever I try to install socket.io by running the following commandline instruction, it says node version needs to be greater than or equal to 10 ...
ThN's user avatar
  • 133
0 votes
2 answers
288 views

I was trying to install npm.. └─$ sudo apt-get install npm I got ...
Game Stakes's user avatar
1 vote
0 answers
179 views

I am installing Angular in Linux VM (3.10.0.1062) using command npm install @angular/[email protected] from Putty terminal, getting below error [host@machinename /]$ npm install @angular/[email protected] npm WARN ...
Arvind Chourasiya's user avatar
0 votes
2 answers
668 views

I'm trying to install NPM on a Google Cloud Platform Debian Instance running Debian 9.13 Stretch. However, if I try to use $ sudo apt install npm I get the following message Reading package lists... ...
spark's user avatar
  • 101
0 votes
1 answer
384 views

Not sure if I've tagged this question correctly, but... I installed the serverless framework and went through a tutorial to deploy an app. All good. Then I changed into my actual project's directory ...
Josh Clark's user avatar
0 votes
0 answers
293 views

I am hosting a NodeJS app on a Ubuntu server. The server has 512 MB of RAM and is pretty basic since I am the only user of the app. Recently, the app ended exited with the following errors: npm ERR! ...
philosopher's user avatar
2 votes
1 answer
1k views

I am trying to run a simple npm install with zsh terminal. npm install --save-dev @typescript-eslint/eslint-plugin@^4.0.0 zsh: no matches found: @typescript-eslint/eslint-plugin@^4.0.0 It appears ...
StuartM's user avatar
  • 123
0 votes
2 answers
52k views

I am trying to start up my application with npm start, however I get the following errors: rm: cannot remove 'dist/': Device or resource busy When I try to run an lsof I get the error message: bash: ...
Daniel's user avatar
  • 537
3 votes
1 answer
3k views

nodejs installed on my debian stretch. nodejs -v v4.8.2 With same way ,i want to install npm. sudo aptitude install -f npm The following NEW packages will be installed: libjs-inherits{a} node-...
showkey's user avatar
  • 601
0 votes
2 answers
434 views

I have almost no idea about shell scripts or commands in linux I have a project named projectx projectX happens to be in users/hardik/desktop/projectx I have created a shell script start.sh. This is ...
iRohitBhatia's user avatar
0 votes
0 answers
2k views

I am trying to learn how to use node.js in centos 8 I have installed node.js and npm, and using npm I have installed inherits and n I have been following tutorials on different websites and have been ...
user13267's user avatar
  • 189
0 votes
1 answer
101 views

I upgraded from Debian 9 to 10, and Emacs from 25 to 26.1. Then, npm was NOT working and missing but node was there. Then, re-installed npm using: $ sudo apt-get install npm npm succesfully ...
tom_kp's user avatar
  • 53
0 votes
1 answer
805 views

I am trying to set up a systemd service for a simple react application. This application is hosted in /home/myuser/test. Both npm and node are in the PATH and hard linked to /usr/bin. All the files ...
Nissy A.W.'s user avatar
0 votes
1 answer
641 views

I've a problem install my application on my server. Locally everything works fine. The versions of node and npm are the same but I'm still getting this error during my install on the server: 91 ...
Mr. Jo's user avatar
  • 203
1 vote
1 answer
211 views

I'm using Kali Linux 2020.1 and installed the btlejuice package yesterday via the command npm install -g btlejuice. Now I'm trying to remove it but when typing dpkg --list I can't see it in there. How ...
user avatar
6 votes
1 answer
261 views

On my Debian 10 I've ran into same problem with npm as many people before: npm does not support Node.js v10.15.2 Searching for the fix I've found that the bug was fixed in debian: https://bugs....
midlan's user avatar
  • 163
0 votes
1 answer
236 views

I'm trying to install Vue.js on my Debian 9 OS and I'm getting this error message: Illegal instruction] - rollbackFailedOptional: verb npm-session 1fd93108cdc88b2 when I do this command: npm install ...
johnfaig's user avatar
2 votes
1 answer
722 views

I have a debian package with npm build dependency, e.g, the control file contains the line: Build-Depends: debhelper (>= 11), npm Building this package works fine if I have installed nodejs using ...
user2563661's user avatar
1 vote
0 answers
164 views

I notice this when using a command that accepts additional args after a double-dash, for example: npm test -- spec/blah-spec.js In a raw, clean, ZSH v5.3 install, tab-completion works properly: npm ...
Elliot Nelson's user avatar
1 vote
1 answer
10k views

I'm trying to install a node package using NPM, but it just gives a permission error. I could install packages without any issues yesterday, but for some reason it has stopped working. asgeir@...
Asgeir's user avatar
  • 131
0 votes
1 answer
8k views

I am trying to install the npm through yum install npm command but it fails every time with the below log: epel/x86_64/metalink | 6.0 kB 00:00 google-...
raikumardipak's user avatar
2 votes
1 answer
2k views

CodiMD is great for collaborative work, but I would like to use it for personal notes on my laptop (Ubuntu 18.04), configured so that it works without an internet connection and uses as few resources ...
bitinerant's user avatar
0 votes
1 answer
420 views

On my GNU/Linux machine I want to backup a list of files specified in a text file names rsyncFolders.txt the idea is to keep the files I want and to exclude unwanted ones to backup. In these folders ...
Dimitrios Desyllas's user avatar
1 vote
0 answers
3k views

I did the following steps: git clone https://github.com/nibtehaz/NORTH-app.git curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs npm install # which caused ...
user3523406's user avatar
3 votes
1 answer
1k views

I've created a very simple debian .deb package that deploys my node-red project to the correct directory structure on a target machine. I also have a number of python/debian dependencies, which I've ...
root's user avatar
  • 31
1 vote
1 answer
750 views

I'm getting the following when installing @sentry/[email protected] in a fresh node_modules (existing project). Needed for @sentry/webpack-plugin. Is there any way I can find out more about this "unknown ...
Cliff Armstrong's user avatar
1 vote
1 answer
642 views

I want to make an smart mirror, before I decide to buy a Raspberry pi I want to preview it on my old computer. I installed Raspberry pi (desktop version from homepage of Raspberry). Everything was ...
HieuC's user avatar
  • 43
0 votes
1 answer
3k views

I have a server I want to run (on one HTTP port), and then another script (which runs (temporarily) on another port). I'm using a pipe in order to let these run concurrently, and brackets to group ...
Brett Zamir's user avatar
2 votes
2 answers
5k views

I've try to run this: sudo npm install npm@latest -g to test npm audit, but this command failed, I've got error: npm ERR! path /usr/lib/node_modules/npm/node_modules/fs-write-stream-atomic npm ERR! ...
jcubic's user avatar
  • 10.5k
4 votes
2 answers
4k views

I did on Debian testing sudo apt install nodejs but I'm missing npm. $ node -v v8.11.2 $ npm -v bash: npm: command not found What did I miss?
user3523406's user avatar
2 votes
1 answer
2k views

Say I have an http or tcp server running, which serves tarballs (.tgz files). Is there some way I can receive files individually so I can do something like this: nc localhost 5000 | how can I read ...
Alexander Mills's user avatar