Category "npm"

Cypress: Module not found: Error: Can't resolve 'cypress/types/lodash

I am running my first test in Cypress from VS IDE and Cypress was working while until I encountered the error below without having changed or updated anything..

npm install -g yo generator-code install issue [duplicate]

Ive been in and out of forums and discord servers all week trying to figure this out. so i installed the npm package in the title and got thes

Error installing create-react-app with npm

When I try to install create-react-app (or nodemon) globally or even within a project, I get the following error. However, I can install other packages perfectl

I can't install react using npx create-react-app?

I am trying to use npx create-react app but i have errors that is shown below: npm ERR! Unexpected end of Json input while parsing near '...eact-app/-/create-r

How to use deep-equal (Angular 7)

Auto import by VS Code: import deepEqual = require('deep-equal'); Doesn't work: error TS1202: Import assignment cannot be used when targeting ECMAScrip

Should I update my npm version or use the one node.js provides?

I have a project that uses node.js 14.16.0. Both me and my teammember use that version. I use npm 6.14.11 and my teammember uses npm 7.x.x. This results in the

"Peer dependency not installed" warning, but they are installed

On npm install, I am getting the following "peer dependency not installed" warnings: npm WARN [email protected] requires a peer of react@^0.14.1 but none is i

nodejs: npm install command shows error

I've install node.js in windows and i gave npm install command, it is showing following error. I set environment variables. I gave npm cache clear also. Error

npm ERR! git dep preparation failed when trying to install package.json

I'm trying to install package.json file using the command npm install, but I'm getting the following error. npm ERR! git dep preparation failed npm ERR! command

Can install sass-loader in Vue 3 project

I am trying to add sass/scss loader AFTER creating a project with vue CLI. I ran this script: $ npm install -D sass-loader@^10 sass and I am receiving following

Error with npm install - a pre-gyp error

I wanted to install this angular 2 calendar using npm. Tried to use npm to install it and then downloaded it and tried to install it. In both cases its failed.

npm install opensea-js failed [closed]

Git-2.36.0,node-v16.15.0 1297 error code 128 1298 error Command failed: git clone --depth=1 -q -b upgrade-wyvern-js https://github.com/Project

Webpack dist folder not getting created in project folder?

Everything running fine, but could not able to find where is my dist folder.I am using publicPath as per documentation, still dist folder seems to coming from m

404 (Not Found) for CSS files

I am running a django app and I want to import a third-party stylesheet from my node_modules. But my django app is looking in the wrong directory and throws a 4

is there a yarn alternative for npm audit?

need pinned resolution feature of yarn, but also want to audit with npm audit? Is there a yarn alternative to npm audit? Or, alternately, will pinning resolutio

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