Category "npm"

Patching a NPM package locally with patch-package, not working

I'm working on a vue.js frontend, and I need to patch a package to fit the special needs of the app. The package I'm trying to patch is 'vue-youtube' (not that

NPM configuration to skip vulnerabilities audit for devDependencies on install

Is it possible to configure npm to skip audit of vulnerabilities for devDependencies when running command npm install?

Vercel Failed to compile. React

first, I was getting the same error for react-icons. now I am getting errors for the typewriter. it works fine on localhost. when I'm trying to npm i typewriter

npm install Error: rollbackFailedOptional

When I try npm install new packages it shows me this error: rollbackFailedOptional: verb npm-session 585aaecfe5f9a82 node --version 8.4.0 npm --version 5

EROFS: read-only file system, mkdir '/logs/'

When I try running local server from npm run start, it shows this error. I'm using Mac and NestJS.

Jenkins unable to find npm

On this linux server, I have a user named "myuser". For this user, when echoing the path, I get this: /home/myuser/bin:/home/myuser/.local/bin:/home/myuser/.nv

Cannot find name 'it' in Jest TypeScript

I try to create an intial setup for Jest in React + TypeScript. I have completed the initial setup and try to check whether the test runs. When I run the test u

create-react-app : npm ERR! notarget No matching version found for [email protected]

I'm trying to create a new react project with create-react-app as usual : npx create-react-app . But I'm getting an error : npm ERR! code ETARGET npm ERR! nota

Jest - Cannot find module '.../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault'

I am trying to run my project's tests on my CI/CD machines. They are jest tests that have been running fine for some time on all my environments. I am going t

npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration

I am stuck at this for long, checked several post but no solution. I am trying to deploy firebase functions. I have run, npm install -g firebase-tools, npm fire

How to overcome ERESOLVE errors within EAS build for native-base and Expo?

I have got the following package.json file. Main purpose is to use Expo 44 with native-base (version ^3.0.0). I could not figure out why such an obvious combina

jhipster is not recognized as an internal or external command, operable program or batch file

I've followed here https://jhipster.github.io/installation/ and JHipster Quick Start,but on my Windows 10, I've got "jhipster is not recognized as an internal

How to install a list of many global packages with Yarn

yarn install -h suggests that the -g (global) option is DEPRECATED. How am I supposed to indicate that I want a bunch of packages (from package.json / yarn.lock

Installing Angular on Mac OS 10.13

I'm trying to follow the quickstart on running Angular locally (on MacOS 10.13.6). With the first command, I already get some errors: npm install -g @angular/c

`npm` busted - how to get past module-not-found, unexpected-token errors

I've installed Node and NPM using nvm-windows. When I tried to run npm install, I got an error Unexpected token '.', then a path to a complete log of the run. I

Do you need a web server to run a production build of a react app on a VPS?

I have built a react app using a truffle box that uses create-react app. I can get the app running on my local host but I can't see it on my VPS when I go to th

Why Jenkins failed with Cordova multi configuration project with build as failure?

I installed Jenkins and started and configured my sample Cordova project with it. I created a multi - configuration project, where my Configure page contains fo

Truffle Installation Error in "nodejs version 8.10.0" npm version "3.5.2"

I have been trying to install truffle in my Ubuntu 18.04 machine with nodejs version 8.10.0 and npm version 3.5.2, but it shows the error as below. loadDep:orig

NPM install package from private repository using access token from environment

I want to install an npm package from a private repository from a specific branch. I know it's possible if you explicitly specify the token in the package path,

-bash: sequelize: command not found

I just ran npm install --save sequelize pg pg-hstore in my project root directory and now I am unable to invoke sequelize init. I get the error: -bash: sequeliz