Questions tagged [npm-install]

npm install is a command in the npm CLI that searches for and installs a specified package from an npm repository.

is a package manager for .

npm install <packagename> is a command in the npm CLI that searches for and installs a specified package from an npm repository. In addition, it will install any packages that the specified package depends on.

Reference:

5374 questions
2
votes
1 answer

node-gyp PYTHONPATH issue

I'm in my project on a MAC running node 8.11.3 and getting the following error: $ npm install > chacha-native@2.0.2 install /Users/MYUSERNAME/boatnet/observer/obs-web/node_modules/chacha-native > node-gyp rebuild Your PYTHONPATH points to a…
user4757355
  • 295
  • 1
  • 7
  • 16
2
votes
1 answer

Npm install error: Error: 404 Not Found: flatmap-stream@0.1.2

I'm getting this error after npm install, 6397 verbose stack Error: 404 Not Found: flatmap-stream@0.1.2 6397 verbose stack at fetch.then.res…
Shahar Shokrani
  • 7,598
  • 9
  • 48
  • 91
2
votes
1 answer

Install published npm-package dev dependencies

I have published a npm package to npm. When I tried to install it anywhere through npm i , It's installing all dependencies in it. How to install dev-dependencies of it, without navigating it to that directory. The below are properties…
UKR
  • 163
  • 1
  • 14
2
votes
0 answers

Permission Denied Error Installing Firebase-Tools in GitLab

I'm trying to set up GitLab CI/CD to deploy to Firebase. I've looked at a few tutorials online and they all say basically the same thing - install firebase tools then deploy with an auth token. However, when I get to this step I get a permission…
Daniel
  • 536
  • 3
  • 10
2
votes
1 answer

npm ERR! enoent ENOENT: no such file or directory, chmod

When I run npm i -g express-generator, it errors and shows this: ➜ GitHub sudo npm i -g express-generator WARN tar EISDIR: illegal operation on a directory, open '/usr/local/lib/node_modules/.staging/sorted-object-b497dff3/lib'ck for…
AskYous
  • 4,332
  • 9
  • 46
  • 82
2
votes
1 answer

how to reduce size of node_module in angular app and load Node_Modules from index.html or application root

I want to reduce size of node_module (current size 605MB) and load Node_Modules from index.html or application root. Angular 5 node 8.9.4 I tried few solutions but not giving expected result, npm install…
Tejal
  • 471
  • 4
  • 10
2
votes
2 answers

npm error 401 unauthorized with @scope/packagename.

Trying to do npm install for a package fails when any of the dependencies have a scoped public package e.g. @babel/generator with a 401 Unauthorized or something like error Couldn't find package "@babel/generator" on the "npm" registry.
jzyamateur
  • 113
  • 9
2
votes
1 answer

Installation of NPM Package is failing

I am trying to use Bitbuckets Pipelines to auto deploy with my commits to a test project while I practice a solid solution. One way I have seen to do this is with "git-ftp", I am open to other NPM packages if someone knows. Currently, when trying to…
Keeano
  • 309
  • 8
  • 33
2
votes
2 answers

npm keeps installing globally

I'm using latest npm, on a mac. I've got a strange problem: if I want to install some package locally on a folder, I'm forced to npm init it. In other words, if I simply npm install [package name], it will install globally (in my /User/npm-modules…
Luca Reghellin
  • 7,426
  • 12
  • 73
  • 118
2
votes
2 answers

laravel mix compile assets from a package in node_modules?

I started using laravel-mix on my new Laravel 5.7 project to compile all the js/css into one file, which will appear in my public js/css directory (one for each page) like this: mix.js('resources/js/app.js', 'public/js') …
Raphi
  • 23
  • 1
  • 3
2
votes
1 answer

ETXTBSY: text file is busy when running npm install (via Vagrant with Unix - Desktop OS is Windows)

I am working from a Windows 7 Desktop that is running a Vagrant box with 'Scotchbox 2.0' (A Vagrant LAMP Stack) and it works fine pretty much. - https://box.scotch.io Within my vagrant box I have the node 11.0.0 & npm 6.4.1 installed - the latest…
Zabs
  • 13,852
  • 45
  • 173
  • 297
2
votes
2 answers

How can i run npm install for different projects simultaneouly

I am creating build which actually consists of 3 different projects. For 2 of them I need to do npm install and for third i need to do bower install before packaking and creating the build. So I was looking for optimization opportunity here and…
undefined
  • 3,464
  • 11
  • 48
  • 90
2
votes
1 answer

How to install/download packages without using npm install or yarn install

I work in a banking domain company so here many link and websites are blocked. Currently I am working on a project where I am using react and Node.js as tech stack. So whenever I want to install any new dependency or just npm install I get access…
iamelix
  • 43
  • 1
  • 7
2
votes
1 answer

Gulp version 4. Why is it not the 'latest' version?

I am working on a project which has gulp as a dependency. I am looking at updating it to gulp 4. A quick look at the output of npm show gulp@latest shows ... dist-tags: latest: 3.9.1 next: 4.0.0 ... I wonder why the gulp team have left latest:…
Jacopo Lanzoni
  • 1,264
  • 2
  • 11
  • 25
2
votes
1 answer

"Error: Cannot find module 'internal/util/types'" while installing node packages in a react-redux project

I am learning Redux and am running into this error anytime I try to install a node package during my initial project setup: `Error: Cannot find module 'internal/util/types' at Function.Module._resolveFilename (module.js:547:15) at…
Brady
  • 21
  • 1
  • 3