cypress-io / netlify-plugin-cypress

Runs Cypress end-to-end tests after Netlify builds the site but before it is deployed

Home Page:https://www.cypress.io/blog/2020/03/30/run-cypress-tests-on-netlify-using-a-single-line/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress error when building on Netlify

jioh-kim opened this issue · comments

Versions

  • What is this plugin's version?
  • What is Cypress version? 6.1.0
  • What Netlify build image are you using? This setting is available under "Deploy settings / Build image selection". Probably either "Ubuntu Trusty 14.04" or "Ubuntu Xenial 16.04"
  • What is the Node version if you know it?
  • What is the NPM version if you know it? 7.19.0

Describe the bug
A clear and concise description of what the bug is.

I am trying to deploy my js website on netlify but there is this error. Nothing helpful is coming up when I google it

Logs and screenshots
If possible, add the log from the terminal. You can turn on debugging logging, see Debugging section of the README file.

image
image

Help please 🥺

Link to the repo
Bugs with a reproducible example, like an open source repo showing the bug, are the most likely to be resolved.

https://github.com/jioh-kim/personal-website

During deployment, we run Cypress tests to make sure everything works correctly before we push it to production. I guess you need to adjust the tests to your content (or leave them out entirely).

See here: https://github.com/konstantinmuenster/gatsby-starter-portfolio-minimal/blob/master/cypress/e2e/main.spec.js

Let me know if this fixes your issue 👍

Thank you so much! I really appreciate it.