Category "npm"

Jest SecurityError: localStorage is not available for opaque origins

When I want to run my project with the command npm run test, I get the error below. What is causing this? FAIL ● Test suite failed to run SecurityError:

How to fix 404 error when installing npm package from GCP artifact registry with yarn?

I'm having an issue with installing an NPM package from GCP. I was able to upload the package to the artifact registry of GCP by doing the following steps: Logi

Unable to install Recharts using npm

npm install recharts using npm I get the following in my console npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to res

NPM run dev not compiling assets with error notifications for user are disabled on Windows 10

I recently reinstalled the Windows 10 operating system, Upon running npm-install command, npm installs correctly. However, on running the npm-run watch com

Fix the upstream dependency conflict installing NPM packages

Trying to npm install vue-mapbox mapbox-gl and I'm getting a dependency tree error. I'm running Nuxt SSR with Vuetify, and haven't installed anything related to

How to use the npm module gs1-barcode-parser?

I want to extract the price value from the GS1 data martix QR code value using Nodejs. Using the module npm i gs1-barcode-parser Tried the below throwing "pars

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