https://cypress.io logo
Configuration error
# i-need-help
b
Hi, i'm cannot run cypress open after install cypress again even though last project no problem hope you guys help me to run cypress thank you ---------------------------------------------------------------- Error: Your application tried to access bluebird, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.

https://cdn.discordapp.com/attachments/1103922036872589382/1103922037027782778/Screenshot_2566-05-05_at_12.44.35.png

m
Hi @brave-portugal-44828 Are you using Yarn pnp with component testing? There was an issue reported in https://github.com/cypress-io/cypress/issues/26567 In general I would recommend using Google on any error message you don't understand. That is often the fastest way to get results.
b
Thank you @many-airline-45402 I use e2e and cypress version 12.11 in this project Now I try lower version it’s version 12.9 Test can run cypress open Thank you for your recommend😍
m
It's good that you have a workaround! Which package manager are you using?
@brave-portugal-44828 It's good that you brought this up, as previously the error was only registered for CT. I was able to reproduce it for E2E on Ubuntu 22.04 and Windows 11 (although the error message is slightly different). It seems quite a bad error because the Cypress App hangs up if you have just installed Cypress and are opening it for the first time to set up the config. I put my notes into https://github.com/cypress-io/cypress/issues/26567#issuecomment-1536178066
If you are only running E2E tests you may be able to work around the issue with
yarn add bluebird@3.7.2 -D -E
.
b
Thank you