0

I followed the instruction in the README: https://github.com/shakacode/cypress-on-rails to set up cypress-on-rails (and it itself runs fine) but when I try to configure VCR for it (following the cypress-on-rails instructions).

I keep getting the following error in cypress specifically:

Error: Webpack Compilation Error
./cypress/support/index.js
Module not found: Error: Can't resolve 'cypress-on-rails/support/index.js'

My question is where does this mysterious cypress-on-rails folder supposed to reside because it seems like I can't find it and webpack can't find it either.

olminkow
  • 121
  • 13

1 Answers1

1

You need to install the cypress-on-rails npm package

yarn add cypress-on-rails --dev