Skip to content

Missing cypress dependency #44

Closed
Closed
@ehmicky

Description

@ehmicky

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 around cypress install calling utils.build.failBuild() with an error message explaining cypress must be installed by user. Downside: more work for the user and more potential for errors.
  • make cypress a dependencies instead of a devDependencies. Downside: user cannot choose their version of cypress.

What do you think?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions