Category "npm"

Getting ReactJS/TypeScript to work with new clean MVC5 project

I've already tried nearly all available tutorials to get a simple MVC5 project to run using TypeScript and ReactJS. Note: I've created the projects from scratch

Module Not Found: Can't resolve 'http2' when importing firebase-admin

Failed to compile ./node_modules/@grpc/grpc-js/build/src/channel.js Module not found: Can't resolve 'http2' in '/Users/Michael/Development/Proje

Express module.js:550 throw err; ^ Cannot find module

I'm trying to initialize a simple express app with the following code: const express = require('express'); const app = express() const bodyParser = require('bo

EBADPLATFORM error when installing any npm package into a fresh Nextjs app

Working with a team on a new project -- we have a fresh Nextjs app stood up in our remote repo which another team member has cloned and is working on locally. S

Debugging an electron app in Visual Studio Code

Could I please ask for help with the following? I have an electron app (basically the quick start app so very very simple). I am viewing the code with Visual St

gyp ERR! stack Error: Command failed: python -c import sys; print "%s.%s.%s" % sys.version_info[:3]

I'm trying to npm install in a Vue project, and even if I just ran vue create (name) it gives me this err: npm ERR! gyp verb check python checking for Python ex

npm ERR! code ENOENT, npm ERR! errno 34

This is my start script for a React application. "scripts": { "prestart": "babel-node tools/startMessage.js", "start": "npm-run-all --parallel test:wat

NPM warning: 'unsupported engine'

I entered the command npm install -D tailwind css postcss autoprefixer vite in VS-Code. My environment is: NPM version: 8.1.2 Node.js version: 16.13.1 Which res

Different node package versions in different branches of app in package.json?

The scenario: We have several similar but customized Node applications, all of which include our own common library/package which we include as a dependency in

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