Category "npm"

React NPM inefficient regular expression complexity in nth-check

I googled lot about this issue. But could not find this issue belongs to which library? How to fix it? any help will be appreciated

Installing Node Application on a server. Apache npm pm2

I have installed a node js application (myapp.js) on a server with a particular IP. I have npm installed and started the application I have done this before but

Error when run in command line "npm install firebase"

C:\Users\user\Desktop\CarInventory>npm install firebase npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: 3d-reac

Vue - build shows infinite loading tab

I have a tiny project with a bunch of images and vuetify.js library Project works fine with vue serve or npm run serve I then do npm run build, copy dist folder

How to solve: Type error: 'Draggable' cannot be used as a JSX component ? (react-draggable)

I get this error while building this Next.js React project Type error: 'Draggable' cannot be used as a JSX component. Its instance type 'Draggable' is not a

WSL - Can't enter 2FA / One-time password when logging to NPM

I have set up WSL (Ubuntu 18.04) on my Windows machine. When trying to login to NPM, the console doesn't allow me to enter an one-time password (either it is 2F

npm: Replacing one package from dependencies with a fork (possibly using git)

I'm using terser, which requires esprima. Esprima has been abandoned, so I'd like to replace it with the fork esprima-next. However, no method which I've used t

Facing issues with npm i and installing npm packages

Hi I'm trying to install NPM package via NPM I, however I constantly get this error: npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ER

Command prompt pops up and closes

My command prompt opens up randomly for like 10 seconds and then closes. The title says npm. I don't know what is causing it or how to solve it. Do you guys hav

Having a problem with installing a package on React 18

I tried to install react-neshan-map-leaflet and everything was installed well without errors, After the project started, I saw this error: ERROR in ./node_modul

How can I monitor the requests during 'npm install <package>'?

I wish to monitor the calls made by the npm cli to the npm registry. (I am building my own registry) I have tried using a program, Charles for monitoring reques

npm install --timing not saving full debug log

I'm running npm install --timing, and when it completes it will output something like: npm ERR! A complete log of this run can be found in: npm ERR! /Users/

can not generate resource nestjs : typeScript

I am getting this error: TypeError: Cannot read property 'properties' of undefined Failed to execute command: node @nestjs/schematics:resource --name=post --

A fool-proof tsup config for a React component library

I've never published an NPM package before. All these details to generate a package seem way too complicated to my level. The only tool, that was beginner frien

Unable to publish scoped NPM package on internal Artifactory

i am trying to publish a simple (there is only a js file inside) scoped NPM package on my company's Artifactory. I followed all the documentation available both

npm install -g @ionic/cli Unexpected token '.'

I want to install ionic 6 on my system. I have installed multiple versions of npm on my system using nvm . nvm ls D:\<user_name>\Projects\Ionic-6>nvm l

how to use npm install's --force flag during Visual Studio publish process?

I have an Angular project in Visual Studio, along with a publish profile to publish to IIS. I've been successfully using this process in this project for some t

Tailwind default color classes not working

I'm building a React application using Tailwind CSS Framework. I have used NPM to install tailwind in my react app in the following manner: npm install -D tailw

Module not found: Error: Package path ./v4 is not exported from package

I was building a react project but when I tried to run it. It showed the following error: Module not found: Error: Package path ./v4 is not exported from packa

Using Firebase with npm

I would like to use Firebase in my project with NPM and I installed it using "npm i firebase". This worked fine so I made a new file called "app.js". Here I wou