Category "npm"

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

npm install react-google-login not working

i am using following command to install react-google-login for react npm install react-google-login but its not working npm ERR! code ERESOLVE npm ERR! ERESOLVE

Error pulling my own TypeScript package from NPM after using direct reference to GitHub branch for debugging

I have two packages that are both held on NPM, we can refer to them as A and B A uses B, so when I PR and merge with B it automatically updates NPM with those d

PinoWarning: prettyPrint is deprecated, look at https://github.com/pinojs/pino-pretty for alternatives

I suddenly started getting following error in my nodejs project [PINODEP008] PinoWarning: prettyPrint is deprecated, look at https://github.com/pinojs/pino-pret

Yarn start run normally but browser not open

In the terminal: yarn start The response is: yarn run v1.22.18 $ react-scripts start Done in 0.15s. Nothing happens, no browser is opened Other projects in th

Yarn start run normally but browser not open

In the terminal: yarn start The response is: yarn run v1.22.18 $ react-scripts start Done in 0.15s. Nothing happens, no browser is opened Other projects in th

PinoWarning: prettyPrint is deprecated, look at https://github.com/pinojs/pino-pretty for alternatives

I suddenly started getting following error in my nodejs project [PINODEP008] PinoWarning: prettyPrint is deprecated, look at https://github.com/pinojs/pino-pret