Deployment Problems with Vercel #810
-
Hello, we are currently working on our feature branch and started a pull request. Now Vercel is giving us an error message. We hat merge conflicts before and resolved them. Maybe this is a corresponding issue?! I have committed and pushed my current status. [It is accessible at this link.](https://github.com/orgs/neuefische/discussions/738#example-link-to-your-repo) The branch is called "myEvent". Description of the error: The error message is displayed in the browser immediately upon starting the Development Server. -- 11:35:09.235 | Failed to compile What have I already tried: Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The error you're encountering is from ESLint, specifically from the
|
Beta Was this translation helpful? Give feedback.
The error you're encountering is from ESLint, specifically from the
react/no-unescaped-entities
rule. 👮💡 This rule prevents characters that might be considered as part of HTML entities from being used unescaped in JSX strings. In your case, the apostrophe in "haven't" is causing the issue.
To solve this problem, you can escape the apostrophe in your JSX code. There are several ways to do this. Any of these methods will prevent the ESLint error by ensuring that the apostrophe is correctly escaped or not interpreted as an unescaped entity in JSX.
&apos
; or'
;.Example with
&apos