I installed del module:
https://docs.cypress.io/api/plugins/after-spec-api#Delete-the-recorded-video-if-the-spec-passed
then I configured cypress config but this line:
const del = require('del')
makes that cypress is not working (I cant even select any browser):
When I commented out this line (const del = require(‘del’)), cypress worked normally.
How can I fix it?