Category "npm"

npm install hangs on loadIdealTree:loadAllDepsIntoIdealTree: sill install loadIdealTree

I have a Node.js application. When I try to run npm install it hangs with this: loadIdealTree:loadAllDepsIntoIdealTree: sill install loadIdealTree npm instal

Node Mysql is breaking node app entirely

For some reason, my node app (specifically the node module) is getting a "Too many connections" error that I can't figure out what is actually causing it, but r

npm ERR! 403 403 Forbidden npm publish

I try to publish public package on npm but I have this error npm ERR! code E403 npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/@clem_b%2fweather -

Nuxt installation error : Rule can only have one resource source (provided resource and test + include + exclude)

I successfully installed Vuejs and Nodejs but got a problem when installing Nuxtjs. This is what I get. I already asked some friends but it didn't work. Thanks

Use of @ symbol in Node module names [duplicate]

I'm looking at some code from a coworker wrote and she's using the @ symbol in require statements. This is the first line of one of these file

Why is npm publish telling me the package doesn't exist?

I'm trying to upload an npm package to a GitLab registry for the first time. I set the scope and the npm config entries according to the documentation, but when

What's the difference between dependencies, devDependencies and peerDependencies in npm package.json file?

This documentation answers my question very poorly. I didn't understand those explanations. Can someone say in simpler words? Maybe with examples if it's hard t

How to use npm modules in browser? is possible to use them even in local (PC)?

I'm new to npm module and node.js so it is really difficult to me. I have a js code whit many points and for each one of them I want to get the nearest city. To

package.json and remote git repository

In my package.json I have defined a GitHub repo as a dependency. "dependencies": { "react": "^16.3.0-alpha.1", "react-native": "0.54.0-rc.3", "re

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree in react

I am doing a mern project in that I used the following command npm i react-router-dom axios react-paypal-express-checkout In that I faced the following error np

Why npx create-react-app is showing "the project was bootstrapped with an old unsupported version of tools"?

I recently switched to Ubuntu, whenever I create react app it's giving me this note, and the app it's creating is a class component. ankit@gram:~/Documents/Deve

How to remove folder with npm before build

I've got a scripts "build": "rimraf dist webpack --progress --config webpack/prod.js", But actually,it removed not dist but all file inside webpack folder. But

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree in react

I am doing a mern project in that I used the following command npm i react-router-dom axios react-paypal-express-checkout In that I faced the following error np

Screenshare in Agora Angular 8

I am trying to integrate Agora in Angular 8 application. Successfully, I am able to join and leave video call, now I am trying to integrate screen share which I

npm install won't install devDependencies

On windows for some reason when I run npm install it won't install devDependencies. AFAIK it should. If I run npm install --dev devDependencies are installed. I

NPM package cannot be used as a JSX Component - Type errors

Ive been getting these strange type errors on my typescript project for certain packages. Ex: 'TimeAgo' cannot be used as a JSX component. Its instance type '

Should the package-lock.json file be added to .gitignore? [duplicate]

To lock the versions of dependencies that are installed over a project, the command npm install creates a file called package-lock.json. This

React, different env files with create-react-app

I am trying to set up different environment files in a React project (using create-react-app). I following the official documentation but I am getting an error:

How can i implement an NPM compatible package registry from scratch? [closed]

I would like to implement my own NPM compatible package registry, like 'github packages'. Where can i find documentation of how this is done?

TypeError: Failed to load plugin 'jest' declared in '.eslintrc': Class extends value undefined is not a constructor or null

I was updating react-scripts to latest version i.e. 5.0.0 and started seeing above error. One article suggested to upgrade @typescript-eslint to version ^5.0.0