Category "npm"

After setting npm config proxy ubuntu, npm not working

Npm crashed after running these two commands: $ npm config set proxy http://login:pass@host:port $ npm config set https-proxy http://login:pass@host:port When

How do I upgrade all scoped packages with Yarn?

Is it possible to upgrade all specific scoped packages in the dependencies section of my package.json by using the Yarn package manager? For example: yarn upg

Is there any shortcut/command available to skip karma tests? like -DskipTests for Maven

I have created Maven Web application and I generally use mvn clean install So it execute npm install command as its one of the execution goal and then it ru

Cannot install enzyme-adapter-react-16

If I try to install enzyme-adapter-react-16 in my project, I get this error : PS C:\dev\test3\my-app> npm i enzyme-adapter-react-16 npm ERR! code ERESOLVE np

All NPM commands error with TypeError: Class extends value undefined is not a constructor or null

I've been using n to install node for years with no issues. Now on my Big Sur mac, I updated from v14.17.6 to v16. This updated without incident and node -v sho

How to run live server after Node.js and npm installation

I am using Windows 10 and I have installed Node.js (with npm) on my local machine. I am trying to follow an instruction which says: "Once node.js and npm are i

Can't start Angular application

Within the last few days, we have been encountering the following errors (and there doesn't seem to be match find in Google search): npm start ng serve Compil

node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'

We are facing issue as mentioned in title. When we are doing ng build than its shows an attached SS error to us. WE have tried all possbile way as already share

when ever I run npm install, it fails

I am getting below error, while running npm install. Is there anything need to be done in nodejs or some other issue. I am getting below error, whenever I use n

npm install always installing in the same directory and not to current directory

I am facing really a weird issue. when i try to run the command 'npm install' it always installs in a different directory. eg: i have the package.json in C:\Fol

Install node_modules inside Docker container and synchronize them with host

I have the problem with installing node_modules inside the Docker container and synchronize them with the host. My Docker's version is 18.03.1-ce, build 9ee9f40

Inherit or share package.json dependencies

We got couple of different projects that are using main dependencies like React and TypeScript packages. Each of those projects(maintained by different dev team

How to run a npm script on a deployed Heroku NodeJS app

Under scripts in package.json I have the following. 'refresh': node refresh db Is there a way to trigger this particular npm script on a NodeJS app deployed

npm start errors with ERR! code ENOENT, syscall open

I'm suddently having a problem with "npm start" in my React application. When I trigger it, this is what I receive: npm ERR! code ENOENT npm ERR! syscall open

TypeError: Cannot read properties of undefined (reading 'match')

I have upgraded my Angular application from 12 to 13 version. And I started getting this error during unit test run. Chrome Headless 94.0.4606.61 (Windows 10) A

npm ERR! Cannot read properties of null (reading 'pickAlgorithm')

iam getting below error with npm while creating react app npm ERR! Cannot read properties of null (reading 'pickAlgorithm') npm ERR! A complete log of this run

Can't import global package in Node even though NODE_PATH is set?

I'm trying to import a globally installed pkg located at /some/path. I have set NODE_PATH in ~/.bash_profile. I am able to do 'echo $NODE_PATH' and see my path

NPM ERR Code E401: Unable to authenticate, need: Bearer authorization

I downloaded a NodeJS application from GitHub and facing the following error when executing npm install. npm ERR! code E401 npm ERR! Unable to authenticate, nee

'eslint' is not recognized as an internal or external command

I'm trying to install eslint & run it in vs code. I ran this command: npm i -g eslint and it seemed to work, but I keep getting an error when I try to run

How do I fix a vulnerable npm package in my package-lock.json that isn't listed in the package.json?

Github is telling me that a dependency in my package-lock.json file is vulnerable and outdated. The problem is that if I do npm install or npm update, neither o