Category "npm"

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 '

PhpStorm terminal npm (node)

I've just recently started using gulp.js in my projects and I've been trying to learn and use terminal a lot more. When I run npm commands from the mac termina

What exactly does "next" mean in package.json dependencies?

What exactly does next mean in package.json dependencies? "dependencies": { "react": "^15.4.2", "react-dom": "^15.4.2", "react-router-dom": "next" }

`npm install` fails on node-gyp rebuild with `gyp: No Xcode or CLT version detected!`

Every time I try npm install. I get the following error. How do I fix it? gyp: No Xcode or CLT version detected! I am on node -v → v8.8.0 & npm -v &ra

Is there any way to force node/npm to use globally installed modules, if both global and local versions exist?

As I understand it, if a NPM module is installed both globally and locally, then the local version is the one that will get used. Is there any way to force use

Is there a way to list what `npm publish` will actually publish?

The docs explain how to control which files are not sent to the npm registry when you run npm publish. If you use .npmignore, or you're not using git that set

Tried npm install -g truffle but getting this gyp error

I tried npm node-gyp -g but it didn't help. I am trying to install truffle in my mac. I am using mac os Catalina, node version 16.13.1, and npm version 8.1.2 np

What is the "-d" in "npm -d install"?

I've seen some posts that refer to running npm with a -d argument. For example, this issue refers to doing npm -d install coffee-script. There are a few other p

Not able to install bower using npm

I have Node.js installed on my system (v0.10.26) and I am trying to install the bower package manager. But I am not able to install. I keep getting an error. I

Not able to install bower using npm

I have Node.js installed on my system (v0.10.26) and I am trying to install the bower package manager. But I am not able to install. I keep getting an error. I

How to use Express with Vue

First time using Node js, Express and Vue. I have a pomodoro timer website made with vue (not vue-app/vue-cli) which I'm wanting to upload to Heroku. The websi

npm ERR! network getaddrinfo ENOTFOUND

I am getting npm ERR! network getaddrinfo ENOTFOUND error while trying to install any package using NPM. I know there are numerous threads on the same issue but

Yarn global command not working

I'm working with Yarn v0.16.1. If I understand correctly (according to the documentation), yarn global add <package> should be the equivalent of npm insta

I ran ganache-cli and it returned an error. i've reinstall npm and nothing done

I ran ganache-cli and it returned an error. I've reinstalled npm and nothing happened. C:\Users\Abass KABORE\Desktop\Stage_DISCOM\BSCcrowdsale>ganache-cli n

Where are the TypeScript type declarations for Sign in With Google (GSI) library?

I'm implementing "Sign in with Google" using the Google "GSI" library. My application uses Next.js and TypeScript, so I'm looking for: An npm package including

What is the equivalent of "npm install <package_name> --save" in Yarn?

I am using Yarn to install the dependencies of my project. What is the equivalent of "npm install <package_name> --save " in Yarn to update the entry in m