tagged [npm]

Running NPM scripts sequentially

Running NPM scripts sequentially Let's say I have What NPM command can I run to let all of the

29 Nov at 16:16

Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`

Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist` Recently, when I compile my scss files I get an error. The error message says: > Browserslist: ca...

12 Sep at 14:36

The NPM script 'start' exited without indicating that the create-react-app server was listening for requests

The NPM script 'start' exited without indicating that the create-react-app server was listening for requests I faced with this problem: ![enter image description here](https://i.stack.imgur.com/h8LpA....

18 Jul at 05:37

How can I publish an npm package with distribution files?

How can I publish an npm package with distribution files? I would like to publish a npm package that contains my source as well as distribution files. My GitHub repository contains `src` folder which ...

7 Aug at 22:28

Command not found after npm install in zsh

Command not found after npm install in zsh I'm having some problems installing [vows](http://vowsjs.org) via npm in zsh. Here's what I get. I tried installing it with and without the -g option. Do you...

25 Jun at 15:58

Global npm install location on windows?

Global npm install location on windows? I'm not 100% sure, but I believe I installed node v5 from the windows installer on both my home and office PCs. On my home PC global installs happen under %APPD...

20 Nov at 05:40

Babel command not found

Babel command not found I have installed the babel-cli tool as explained by the Babel ['getting started'](http://babeljs.io/docs/setup/#babel_cli) page. From a terminal inside my project folder: After...

22 Dec at 19:31

sudo: npm: command not found

sudo: npm: command not found I'm trying to upgrade to the latest version of node. I'm following the instructions at [http://davidwalsh.name/upgrade-nodejs](http://davidwalsh.name/upgrade-nodejs) But w...

22 Nov at 21:27

Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?

Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format? If two different developers are using different versions of node (12/15) & npm (6/7) in a project that was orig...

13 Nov at 00:24

Error "npm WARN package.json: No repository field"

Error "npm WARN package.json: No repository field" I installed Express.js with the following command: I get the following warnings: ``` npm WARN package.json range-parser@0.0.4 No repository field. np...

29 Dec at 02:31

Cannot install packages using node package manager in Ubuntu

Cannot install packages using node package manager in Ubuntu NodeJS interpreter name(`node`) on Ubuntu has been renamed to `nodejs` because of a name conflict with another package. Here's what the rea...

18 Jan at 18:38

Accessing non-existent property 'padLevels' of module exports inside circular dependency

Accessing non-existent property 'padLevels' of module exports inside circular dependency I just `> npm i -g phonegap@9.0.0` and `> phonegap --version`. It says not only `9.0.0` but also: ``` (node:183...

6 Nov at 11:15

DeprecationWarning: Buffer() is deprecated due to security and usability issues when I move my script to another server

DeprecationWarning: Buffer() is deprecated due to security and usability issues when I move my script to another server Getting error when script move to other server. > (node:15707) [DEP0005] Depreca...

14 Dec at 14:13

npm install error from the terminal

npm install error from the terminal I am trying to install node in my mac.. i am getting the following error... i downloaded the node from node site and ran that package... can you guys tell me why i ...

nodejs npm global config missing on windows

nodejs npm global config missing on windows I can't find at all where npm has its global settings stored. npm config get userconfig npm config get globalconfig There's no files at either of these path...

20 Mar at 23:41

Error: yarn start - error Command "start" not found

Error: yarn start - error Command "start" not found I am trying to learn React and I am using a private repo to start with it. I run `yarn start` in the directory of the repo but I get the error messa...

28 Jan at 20:52

Visual Studio Code (Windows) Not Detecting Global NPM Modules

Visual Studio Code (Windows) Not Detecting Global NPM Modules I'm experiencing an issue where Visual Studio Code in Windows 10 is not able to detect globally installed NPM packages within the Integrat...

npm ERR! Refusing to delete / code EEXIST

npm ERR! Refusing to delete / code EEXIST I'm just running a simple `npm install` and i get this error. ``` npm ERR! path /Users/jasonazoulay/Desktop/fabrick.io/delegation/node_modules/@angular/cli/no...

11 Oct at 23:42

Should the package-lock.json file be added to .gitignore?

Should the package-lock.json file be added to .gitignore? To lock the versions of dependencies that are installed over a project, the command `npm install` creates a file called `package-lock.json`. T...

30 Jan at 14:58

nodejs "npm ERR! code SELF_SIGNED_CERT_IN_CHAIN"

nodejs "npm ERR! code SELF_SIGNED_CERT_IN_CHAIN" I'm new to nodejs and npm. I'm trying to install log4js and this is the command for the install: I'm running this from Windows Command Line and I after...

19 Mar at 09:39

Error: Node Sass does not yet support your current environment: Windows 64-bit with false

Error: Node Sass does not yet support your current environment: Windows 64-bit with false ``` E:\A Prem World\Team_Work_Tasks\Anjali\Anjali_20160524\QuizApp_20160524_01_Anj>ionic serve -l (node:4772) ...

30 Dec at 18:14

npm install from Git in a specific version

npm install from Git in a specific version Assumed that I have written a module for Node.js which I would like to keep private. I know that I can (should) add the line: to the `package.json` file, and...

24 Mar at 08:2

webpack command not working

webpack command not working I am new to Node Js and Webpack. I tried to start a project with module-loaders. Firstly, I installed nodeJs and NPM and created a new directory called `tutorial`. I used t...

4 Jul at 13:26

Determine command line working directory when running node bin script

Determine command line working directory when running node bin script I am creating a node command line interface. It is installed globally and uses a bin file to execute. I plan to have a command win...

7 Nov at 10:49

Permission denied when installing npm modules in OSX

Permission denied when installing npm modules in OSX I'm trying to install `node-g.raphael`, and I'm getting the following error: ``` Bender-03:htdocs alfred$ sudo npm install node-g.raphael --save Pa...

12 Nov at 22:37