Closed
Description
Some users are using this plugin and forgetting to install cypress
in their Netlify Site. This makes their builds crash
This could be solved either by:
- adding a
try
/catch
block aroundcypress install
callingutils.build.failBuild()
with an error message explainingcypress
must be installed by user. Downside: more work for the user and more potential for errors. - make
cypress
adependencies
instead of adevDependencies
. Downside: user cannot choose their version ofcypress
.
What do you think?