I want to deploy my nejxtjs project from GitLab but it shows deploy failed and when I checked the console there Is an issue about:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src ‘self’ ‘report-sample’ ‘unsafe-eval’ 'sha256-tzJL5BjE+aPYtfDUO3L7…
would you help me to find out what the problem is?
Could you please share your site name?
velvety-quokka-04a3e6
This line in your build log gives you the solution:
info - Need to disable some ESLint rules? Learn more here: Basic Features: ESLint | Next.js
Either fix all your warnings, or disable ESLint rules.
I am figuring it out, thanks