Category "npm"

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

how can I fix this problem npm error to install my react app?

npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! errno ERR_SOCKET_TIMEOUT npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/html-

"npm run build" = "react-scripts: Permission denied"

I'm trying to deploy my working Windows 10 Spring-Boot/React app on Ubuntu 18.04 but keep getting "react-scripts: Permission denied" error despite numerous atte

Laravel 5.4 ‘cross-env’ Is Not Recognized as an Internal or External Command

I'm trying to run npm run dev for Laravel Mix and I get this error: > @ dev D:\projects\ptcs > cross-env NODE_ENV=development webpack --progress --hide-m

Node js express-session creating new session id every time I refresh or access the page

I am facing the issue : on every request new sessionID is getting created. Can someone throw light at this ? Versions I am using: NODE VERSION: v6.10.3 NPM

How to resolve rename error during npm install

I opened the cmd window as administrator and ran npm install on a folder, got this error at one point: npm ERR! Error: EPERM: operation not permitted, rename '