https://cypress.io logo
Dependencies for component testing are not found?
# i-need-help
h
Hi. I'm trying to set up component testing. Since for some strange reason this is not possible without selecting a framework (which we don't use), I decided to just select a framework, install the dependencies, and then completely ignore this framework during testing. However, even though I have executed the command line given by the Cypress app to install the dependencies, it does not seem to find them. It keeps waiting for them, and skipping to the next step with the dependencies installed, I get errors saying that the dependencies are not there. I'm not a Node expert, so probably I'm just missing something here?
m
Hi @handsome-wolf-98416 You might try restarting Cypress and trying again. I have noticed in the past that the setup wizard doesn't notice when dependencies have been installed and hangs waiting.
h
That seems to do the trick. Then I need to add a vite config file, but adding an empty file also seems to work. Quite a lot of unnecessary bloat to test without framework, but at least I'm in now. Thanks!
2 Views