0

I am following this tutorial on integrating TestCafe with Azure Devops https://testcafe.io/documentation/402822/guides/continuous-integration/azure-devops. I run the script npm run test testcafe which locally runs testcafe. I also tried npm run test and get a similar error

This is what I am getting as a result enter image description here

I have done some searches for this and have been unable to find what is going on. Anyone have experience with this?

Alex Skorkin
  • 4,264
  • 3
  • 25
  • 47
Aaron
  • 4,380
  • 19
  • 85
  • 141
  • If you use the same npm commands locally, does it run the tests? Do you install node and all project dependencies before starting testcafe? – pavelsaman May 26 '21 at 18:23

1 Answers1

1

Your Node.js version is outdated. The minimal supported version for TestCafe is v12.0.0. Use the Node.js v12.0.0+ CI environment and make sure that you are using the latest TestCafe version.

Vladimir A.
  • 2,202
  • 2
  • 10
  • 28