Current behavior
When dependencies have been installed during CT onboarding, the Cypress App continues to wait showing a spinner with the text "Waiting for you to install the dependencies...". It does not exit this condition and requires the Cypress App to be restarted to continue. After restart, the Front-end framework is detected and onboarding continues successfully.

Desired behavior
Onboarding should automatically and dynamically check dependency installation as it did up until Cypress 12.7.0.
After choosing a front-end framework during CT onboarding, for instance Next.js, the Cypress App displays a command, such as npm install -D next react react-dom, together with a spinner with the text "Waiting for you to install the dependencies...".
Now if the command to install packages is executed in a separate terminal window, the spinner and text disappear. The message displaying the command to execute disappears and is replaced with a text saying "You've successfully installed all required dependencies"

Test code to reproduce
git init
npm init -y
npm install cypress -D -E
npx cypress open
Select Component Testing
Select Next.js, click Next step
In a separate terminal window copy and paste
npm install -D next react react-dom
The Cypress App waits showing a spinner with the text "Waiting for you to install the dependencies...". This does not change even when the dependencies have been installed.
Cypress Version
12.11.0 (and 12.12.0)
Node version
18.16.0
Operating System
Ubuntu 22.04 (also reproducible on Windows 11)
Debug Logs
`cypress:scaffold-config:frameworks` is not detecting the dependencies
Other
Workaround
Kill then restart the Cypress App after installing dev dependencies.
Current behavior
When dependencies have been installed during CT onboarding, the Cypress App continues to wait showing a spinner with the text "Waiting for you to install the dependencies...". It does not exit this condition and requires the Cypress App to be restarted to continue. After restart, the Front-end framework is detected and onboarding continues successfully.
Desired behavior
Onboarding should automatically and dynamically check dependency installation as it did up until Cypress 12.7.0.
After choosing a front-end framework during CT onboarding, for instance
Next.js, the Cypress App displays a command, such asnpm install -D next react react-dom, together with a spinner with the text "Waiting for you to install the dependencies...".Now if the command to install packages is executed in a separate terminal window, the spinner and text disappear. The message displaying the command to execute disappears and is replaced with a text saying "You've successfully installed all required dependencies"
Test code to reproduce
Select Component Testing
Select Next.js, click Next step
In a separate terminal window copy and paste
npm install -D next react react-domThe Cypress App waits showing a spinner with the text "Waiting for you to install the dependencies...". This does not change even when the dependencies have been installed.
Cypress Version
12.11.0(and12.12.0)Node version
18.16.0Operating System
Ubuntu
22.04(also reproducible on Windows11)Debug Logs
`cypress:scaffold-config:frameworks` is not detecting the dependenciesOther
Workaround
Kill then restart the Cypress App after installing dev dependencies.