Category "npm"

How to update package-lock.json without doing npm install?

Is it a way to update/generate package-lock.json without making real install of node_modules (like npm i)? I just need a valid package-lock.json based on my pac

Need to install 'webpack-dev-server'

I have cloned a repo from GitHub for a project. I've already installed node (-v 14.17.5) and npm (-v7.20.6), however when I run npm start I get the following co

Need to install 'webpack-dev-server'

I have cloned a repo from GitHub for a project. I've already installed node (-v 14.17.5) and npm (-v7.20.6), however when I run npm start I get the following co

How does Typescript references interact with builds and Docker?

I have a projectA that references a common package that my other Nodejs services will reference as well. The issue is how do I pack this up in a Docker file? Id

npmjs create username that created as organization before

Recently I created organization in my account, for example 'my_org' so I can publish package under 'my_org' scope. But decided to create separate account (by or

Node - was compiled against a different Node.js version using NODE_MODULE_VERSION 51

I am running a node application on terminal. Have recently upgraded to node v8.5.0, but am getting this error: Error: The module '/tidee/tidee-au/packages/tide

Gitlab semantic release not using private registry

I'm trying to use semantic-release to publish to a scoped private registry on gitlab but I keep getting error because it's trying to auth against the public reg

npm WARN: npm does not support Node.js v12.4.0

I've been getting the following warnings lately whenever I run any npm script: npm WARN npm npm does not support Node.js v12.4.0 npm WARN npm You should probab

gulp-sass 5 does not have a default Sass compiler; please set one yourself

Error in plugin "gulp-sass" Message: gulp-sass 5 does not have a default Sass compiler; please set one yourself. Both the sass and node-sass packages are permit

Npm ERR! code EPERM

I'm using node v6.11.2, npm v5.3.0 and angular/cli v1.2.7. I'm suddenly receiving the following error message for a majority of my npm installs. Never seen it

Running 2 commands in npm script(nodemon && sass --watch)

I have a package.json file looks like this. "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node src/app.js",

Do I have to fix audit issues of the latest nuxt.js?

I am trying to use nuxt for my app, but when I run "yarn audit", there are some audit issues which are dependencies of nuxt. Do I have to fix these audit issues

tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

This is very much a duplicate of xcode-select active developer directory error except none of those solutions worked for me. $ sudo xcode-select --reset $ sudo

npm install always stuck at that exact time

I tried running $ npm install -g truffle and $npm install but it was constantly freezing at a particular point. I also tried command yarn global add truffle but

The term 'node' is not recognized... In Powershell

I have been trying to resolve this issue for the whole day. When I run node -v or npm install in cmd prompt, it works absolutely fine. But when I run the same

How to manage multiple versions of the same NPM dependency?

Situation I've written a bunch of D3.js charts using the latest version of D3 (4.9.1). However I also need to include the occasional C3.js chart in my app, pr

npm run server error '.' is not recognized as an internal or external command,

I ran into this problem with angular and npm and I'm yet to find a solution for it . The project I'm working is this angular project from github , this exact co

Testing an electron application through pytest-selenium

I have a small node/electron application to test. It's just run locally with "npm start", which brings up a small electron browser with the application. How can

Npm error "Error: EACCES: permission denied, mkdir '../node-sass/build'"

Can't install the node-sass package via npm sudo npm i, i have been trying to resolve via sudo npm i -g node-sass --unsafe-perm=true --allow-root but it doesn't

how to use color-thief in a vuejs context

I'm trying to import color-thief from NPM (https://github.com/lokesh/color-thief) like this: import ColorThief from 'colorthief' But when I call new ColorThi