score:0
it seems like an issue that happened to me when i had a power outage during installation - so if i am right it occurs when an installation is forced down midway. i managed to solve it by deleting every cypress folder from appdata before running npm install cypress --save-dev
.
score:0
unzipping manually downloaded cypress to appdata/local/cypress/cache/[version]/
fixed the issue for me.
after removing cypress from the appdata/local
and appdata/roaming
if you try to run npx cypress open
you will see:
cypress executable not found at: c:\users\[user]\appdata\local\cypress\cache\8.5.0\cypress\cypress.exe
so it worked after unzipping cypress there manually.
score:1
i had this same issue and seemed to fix this issue by upgrading to the latest version of node and npm.
score:1
i had the same issue when trying do a fresh npm installation for a project. running in the same command in an elevated window did not help. jakob's answer helped above:
visit https://docs.cypress.io/guides/getting-started/installing-cypress#direct-download
download the version of cypress from https://download.cypress.io/desktop or alternatively put the version number at the end : https://download.cypress.io/desktop/8.7.0
extract the folder to:
c:\users\[username]\appdata\local\cypress\cache\[version]
i ran npm install and the install completed without error.
Source: stackoverflow.com
Related Query
- Installing cypress - stuck on unzipping 0%
- React, Redux, React-Router - Stuck at installing material-ui
- Reactjs stuck at installing react Dom,react-templates
- While installing react it gets stuck in between
- Cypress Testing: stuck at wait-on http://localhost:3000
- React app stuck on "Starting the development server"
- react native downloading javascript bundle 100% stuck
- "ERESOLVE unable to resolve dependency tree" when installing npm react-facebook-login
- Can't set up the HMR: stuck with "Waiting for update signal from WDS..." in console
- Test loading of image in Cypress
- Cypress testing a Material-UI datepicker is not working on Github actions
- How to use process.env variables in browser running by Cypress
- React native deploying on iOS device stuck on Running 1 of 1 custom shell script
- HTML + React: Radio button stuck on the one initially set as "checked"
- Setup Cypress on WSL ubuntu for windows 10
- Cypress wait for API after button click
- After installing 'react-navigation' The development server returned response code:500
- How to expose/access a data store like Redux within a cypress test?
- Installing react-redux in a Rails project
- Moving slider with Cypress
- Installing Babel to use with React and JSX
- Installing React Native Map. AIRMap not found in UIManager
- Error installing reactjs: Error unexpected end of JSON input while parsing near
- how to increase waiting timeout from 30000 ms to 60000 ms of npm installing time in ubuntu
- Facing error while installing firebase via npm | Unexpected end of JSON input while parsing near
- unable to resolve dependency tree when installing @react-navigation/stack@5.14.3
- React JS error when I am installing any type of package
- React native - which files to include in version control after installing native-base?
- Installing create-react-app gives npm ERR! shasum check failed and npm ERR! Unexpected end of JSON input while parsing near '...mojOzGIEI2rg0m24Yb5Oq'
- When installing Material UI, I am prompted with a series of errors?
More Query from same tag
- React render a select field multiple times
- How to use react hooks on react-native with react-navigation
- (ReactJs) How include more than one component in another component?
- Function doesn't do anything
- Unable to grab element by className even if I see it in the browser console
- Confirm remote sync - Firebase Realtime Database w/ ReactJS+Redux+Saga
- How To Stop Link Component From Giving 404 Error in NextJS?
- React JS trying to map collection, value is not defined
- How to use onClick event on react Link component?
- How do I store the state of radio groups in React using react-hook-form
- Nothing shows up after setState filling by components
- After test:report:chrome Report generation done, Terminal not closing the instance, it keeps running
- How to reset the timer properly in react js
- Using ReactJs with Cloud Firestore V9, I have an issue with rendering to the dom
- Material-UI DataGrid not sorting numeric column correctly
- React Router Error - Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'pathname')
- Back button with react-jsonschema-form lib
- Trying to load large json files using file-loader and webpack
- React-router-dom protected route w/ async
- React - ES6 - Unexpected token
- how to update an object within an array during an asyncThunk.fulfilled action in Redux
- cloning an index of an array of objects in javascript (client-side ReactJS) and return a view based on the new array using map method
- React passing two functions as a call backs to this.setState
- Setting State Array and Appending Value on Update
- routes with react-router-dom opens in parent container
- How can I use Typed package in React?
- Issue using array of objects from API as JSON for d3 visualization
- React Native Sqlite fetch all data in Listview
- NextJs Authentication with Next-Auth against DRF
- react: Calling child component's method from parent component