Category "npm"

TypeError: Failed to load plugin 'jest' declared in '.eslintrc': Class extends value undefined is not a constructor or null

I was updating react-scripts to latest version i.e. 5.0.0 and started seeing above error. One article suggested to upgrade @typescript-eslint to version ^5.0.0

Deploy error Cloud Functions - Firebase Deploy

Error returning when executing the firebase deploy command. I tried some configuration options, but none worked. Error Firebase Deploy === Deploying to '###'...

Run mocha excluding paths

I have this (in gulpfile.js): var gulp = require("gulp"); var mocha = require("gulp-mocha"); gulp.task("test", function() { gulp .src(["./**/*_test

How to substitute sources for browser bundle with Rollup?

Using rollup is it possible to replace a specific source by another source in a NPM package during a browser bundle? Note this source is dynamically imported vi

NPM install fails with node-gyp

We are having problems running "npm install" on our project. A certain file cannot be found : fatal error C1083: Cannot open include file: 'windows.h' It app

How to install older version of node.js on Windows?

I need to install node.js of version 4.0.0 I tried this: npm install -g [email protected] But I got this message: npm is not recognized as an internal or external c

Installing ganache in power shell and ran into NPM Err

I am trying to install ganache to my power shell. I rand npm install ganache --global I ran into the following error: PS C:\Users\Chetachi Ugwu-Ojobe\Documents\

Google Cloud Functions error: "Cannot find module 'sharp'" but it's in my package.json

I am trying to deploy a function to Google Cloud Functions. I based it on their ImageMagick tutorial. Every time, the function fails to deploy because it reache

Google Cloud Functions error: "Cannot find module 'sharp'" but it's in my package.json

I am trying to deploy a function to Google Cloud Functions. I based it on their ImageMagick tutorial. Every time, the function fails to deploy because it reache

React Native -- Could not determine the dependencies of task ':app:mergeDebugAssets'

I'm trying to run my project with the npm run android command and it throws this error for me: info Running jetifier to migrate libraries to AndroidX. You can d

Issue with Material UI Icons npm installation : unable to resolve dependency tree

I was trying to install Material UI Icons in my Netflix-Clone React.js project with npm, but I got the following error - PS D:\REACT Projects\netflix> npm i

NPM Install Error:Unexpected end of JSON input while parsing near '...nt-webpack-plugin":"0'

When creating a new Angular 5 project: node version: 8.9.2 npm version: 5.5.1 My Command is: npm install -g @angular/cli The Error is: npm ERR! **Unexpected en

Error running install script for optional dependency ~/iltorb: Command failed

I need to setup a React project for which I want to install some Node dependencies. I ran yarn and got some errors; initially I thought the issue may relate to

NPM standard-version patch version problem

I'm trying to use standard-version in my javascript project. I added the release script to my package.json: "scripts": { ... "release": "standard-versio

How do I install node-sass on MacOSX M1?

I have an error with node-sass when trying to do a yarn on my M1 MacBook. I have this error : error /Users/antoinekurka/Documents/Freelance/Projets/NL/NextLevel

I am trying this but i get error in npm start

PS C:\Users\LENOVO\Desktop\Dev\Sangeet-App> npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\LENOVO\Desktop\Dev\Sangeet-App/packag

Eliminate npm "update available" message

It seems that more recent versions of npm now produce: I rely on my Linux (Ubuntu) package manager to make decisions about when to update node and npm. Is th

Install swiper slider on Laravel project

how can I install the swiper slider package on my Laravel 9 project? Package link : swiperjs.com

unable to run aws-azure-login when installed using npm install aws-azure-login command

when I run npm install aws-azure-login, package is successfully installed but when I try to access, it throws the error('aws-azure-login' is not recognized as a

How to describe running npm script in Dockerfile

I described in Dockerfile the command to execute npm script: WORKDIR /usr/src/app/server CMD ["npm", "run", "build"] It's just a webpack script which build my