New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to uninstall Cypress 13.8.1 #29478
Comments
@pujantrivedicisco Do you remember how you first installed Cypress? There’s a few different ways you could have. https://docs.cypress.io/guides/getting-started/installing-cypress#Installing |
@jennifer-shehane , i first installed version 12.17.4, then after few weeks, installed 13.8.1 using npm install cypress --save-dev, then pnpm install to install dependencies |
I tried direct app installed too, downloaded it, put it in applications folder, then configured my project with it. I am facing total two issues
to troubleshoot above, i thought to clean install cypress all over again and try, but now cypress is not at all completely uninstalling. |
You may like to connect to the Cypress technical community on Discord where other users help each other and provide support. |
Closing as there isn't an indication of a bug within Cypress to address here. |
Current behavior
I want to completely uninstall Cypress 13.8.1, then reinstall it. i tried commands npm uninstall cypress --force
, then npm uninstall cypress --legacy-peer-deps
etc.
but still able to launch cypress using npx or pnpx cypress open
i want to completely uninstall so that i can install it again.
Reason i want to install it again is, in myscript i want to capture / intercept the API call, so as to get the jwt token after login, currently, m not able to extract it using below code
cy.intercept('GET', uri).as('whoamiRequest');
cy.visit('/'); //This will reload page, which will load the API get call, which has token in its header
cy.wait('@whoamiRequest').then((interception) => {
let authorizationHeaderValue = interception.request.headers['Authorization:'];
but this gives blank value for token, though there is a token stored in Authorization header, so to troubleshoot i want to completely uninstall and install cypress latest version, then try again.
Desired behavior
No response
Test code to reproduce
cy.intercept('GET', uri).as('whoamiRequest');
cy.visit('/'); //This will reload page, which will load the API get call, which has token in its header
cy.wait('@whoamiRequest').then((interception) => {
let authorizationHeaderValue = interception.request.headers['Authorization:'];
Cypress Version
13.8.1
Node version
v20.5.1
Operating System
macOS
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: