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
3 answers

I can not run nodejs on ubuntu16.04

I have installed nodejs on my ubuntu16.04 . But I can't run this. When I write a command npm run dev it shows the following error: > @ dev /var/www/html/laravel > node node_modules/cross-env/bin/cross-env.js NODE_ENV=development…
2
votes
1 answer

Publish a web application in visual studio and run npm install on the remote machine

I have integrated npm with visual studio and I can run my project locally as it has all the required dependencies in the node_modules locally. Now I want to publish this web app to remote server but I don't want to add all the node_modules in to the…
2
votes
0 answers

Cant build project recursively using npm post-install inside node_modules

I have 3 projects, one core and other 2 plugins which need to be imported in the core one. Let's say Core is A, and plugins are P1 and P2. I have a post-install in P1 and P2 that build the project using webpack and compile all the code inside…
Usman Tahir
  • 2,513
  • 4
  • 24
  • 38
2
votes
2 answers

Error for angular ui-router transition superseded / transition prevented / transition aborted / transition failed

Im getting the errors: Error: transition superseded at $StateProvider.$get (http://localhost:1337/angular-ui-router/release/angular-ui-router.js:2903:42) Error: transition prevented Error: transition aborted Error: transition failed I found a…
javascript2016
  • 973
  • 3
  • 17
  • 41
2
votes
1 answer

webdriver-manager how to install selenium version npm

I installed webdriver-manager by installing protractor via npm install with package.json. Under the root dir /webdriver-manager node module there is a config.json that contains { "webdriverVersions": { "selenium": "2.53.1", …
awaken
  • 789
  • 1
  • 11
  • 22
2
votes
2 answers

Installing 3rd Party Applications with Angular-CLI

I am new to angular-cli. I want to install the npm library mdbootstrap. I followed the instructions here: Angular CLI Instructions Specifically, I did this: I installed mdbootstrap via npm install bootstrap. I added all of the files in the dist…
Jerry Huckins
  • 498
  • 3
  • 7
  • 22
2
votes
2 answers

Fatal Bad Object Error on npm install

I am doing a npm install and getting the following error : npm ERR! git rev-list -n1 8d27c06c2903538cd740a80edeae548922d057a5: fatal: bad object 8d27c06c2903538cd740a80edeae548922d057a5 npm ERR! git rev-list -n1…
Krishna
  • 1,332
  • 5
  • 20
  • 35
2
votes
2 answers

Apache Cordova Tools with Visual Studio 2015 Community Edition

I am totally new to Apache Cordova tools with VS 2015. I just tried to create basic initial project, added nothing more and trying to build it, but it fails everytime. For the specific error I get, I performed all the steps mentioned at: …
2
votes
1 answer

Heroku App is Not Using the Right Node Module

I'm trying to test a fork of a node module on my Heroku app. Here's what I did: Forked a node module repo and made some changes to the code. Pushed to my own remote repo. Ran the following on my Heroku bash terminal: npm install…
Nick
  • 1,864
  • 5
  • 27
  • 49
2
votes
3 answers

npm install error/issue

I have already set proxy configurations in .npmrc file. Executing the npm install command gives me error as follows" $ npm install npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program …
Pooja Kedar
  • 439
  • 2
  • 10
  • 23
2
votes
0 answers

Not able to install angularJS2 in visual studio behind proxy server

i am not able to start angularJS2 project in visual studio sitting behind a proxy server. the following steps which i have done are installed node.js - v6.9.4 npm version is 3.10.10 set the npm config as npm config set…
Lijin Durairaj
  • 653
  • 1
  • 6
  • 9
2
votes
1 answer

Best Practice to avoid Angular Version Conflict

This diagram explains my question ----> Version Conflict My product takes a dependency on a node package, which takes a dependency on a certain version of Angular, lets say version #y. However, my product relies on a different version of Angular -…
Sahil Malik
  • 101
  • 4
2
votes
0 answers

In NodeJS, how should environment bundles be provided to globally installed bins?

I install with npm install -g, which results in a js file being placed in /usr/bin. Is it recommended to use a .env file in this case? Or what's a better way of providing environment variables to a command-line script?
oink
  • 1,443
  • 2
  • 14
  • 23
2
votes
1 answer

How to add Android support to my Ionic app project?

I have created an Ionic app project. I want to add Android support to my app. For that I used "ionic platform add Android. But my system shows some errors. I am using a windows machine. The errors showing in cmd is Adding android…
2
votes
1 answer

How to stabilize a {Node} npm dependency system?

I am using angular-cli and building a SPA using Angular2. I have a Jenkins build system for my application where in every time there is a change in my project repository, a build is triggered which basically deletes the entire node_modules folder…
theHeman
  • 505
  • 1
  • 6
  • 26