Questions tagged [netlify]

Ask questions about the Netlify setup, config or just in general using the netlify-cli or online at app.netlify.com

enter image description here

Netlify is a unified platform that automates your code to create high-performant, easily maintainable static web sites.
Simply push your code and let us take care of the rest.

2231 questions
0
votes
0 answers

Is there any particular way to quickly convert a Create-React-App project to a NextJs project?

Overview I need to improve the SEO / meta data for a React website that I made with the npm pages Create-React-App and React-Router. I would like to remake the website using NextJs in the most efficient and effective way possible. The project is…
0
votes
1 answer

Why am I stucking when deploy a React app to Netlify?

I'm using Netlify to deploy a React app. But it stuck when deploying and shows few warnings which doesn't matter locally. And I tried to use CI= npm run build command as well, it did successfully deployed but the page was not found, which shows…
Wonster
  • 27
  • 6
0
votes
0 answers

Access to XMLHttpRequest at from origin blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present

I was adjusting my game locally but suddenly I were getting CORS errors. So I switched to Github where I had a working copy without any changes/adjustments but somehow even that wasn't working anymore. My site: https://snake1v1.netlify.app/ When I…
0
votes
0 answers

Netlify: Build Failed with “non-zero exit code: 2” error

I am trying to deploy my Gatsby website, and there I am getting this error, I tried and check but it seems like there is something wrong with environment: NODE_VERSION, NPM_FLAGS, SHARP_IGNORE_GLOBAL_LIBVIPS I have set them in my deployment setting…
Mr. Pyramid
  • 3,855
  • 5
  • 32
  • 56
0
votes
1 answer

build script returned non-zero exit code 2 netlify

I keep getting an error when trying to build my project with Netlify. I have the project linked to a Github repo, and am trying to setup Continuous Integration. My build command is set to CI= false npm run build as seen in the image Build command.…
maxheezy's
  • 53
  • 4
0
votes
0 answers

Deployed react app on Netlify, How/What forrmat to send axios request to backend on Heroku after login?

I have deployed Backend on Heroku & frontend on Netlify. After sending login request from frontend, I am getting a token, which I'm setting using React-cookie from frontend, so token(cookie) is accessible to me. But, when I goto dashboard, their I…
Kedar K
  • 41
  • 2
  • 10
0
votes
1 answer

why there is an error of Authenting netlify account

Authentication Error Authenticating failed due to the following error: We already have a registered user with this email address. Log in to connect your GitHub account.
0
votes
0 answers

Links breaking after Netlify deployment

After deploying to netlify, my links suddenly break with a 404 error message. When going over my code I see that the click events have a line through them. This is my first time using jQuery, any ideas? $('.projects-index').click(function () { …
Neelam
  • 31
  • 5
0
votes
0 answers

my reactjs app doesn't work after deploying on GitHub pages and netlify

my reactjs app doesn't work after deploying on GitHub pages and netlify https://enchanting-paletas-5e213c.netlify.app/ netlify console err enchanting-paletas-5e213c.netlify.app/:1 GET…
0
votes
1 answer

Vanilla Javascript project with Webpack failing to deploy on netlify

For some reason my vanilla javascript project using webpack works perfectly through my local computer but once I connect it to netlify with github the whole thing fails to build. It keeps giving me an error that 'a module cannot be found' and that…
0
votes
0 answers

Error code 502 on Netlify for submit form in Next.js

I deployed a website that made by Next.js in Netlify. I have a form in contact page and it's work well on development and production (by build command and then start). On the Netlify when the form is submitted, it's work perfectly and stored form…
Hadi
  • 1
  • 3
0
votes
1 answer

Netlify manual deploy failed

I'm using Netlify to host my static website. When I try to deploy, error message come out: Looks like something went wrong! We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try…
AlignItems
  • 59
  • 11
0
votes
0 answers

having issues running my react app locally

I have added my backend to heroku and my frontend to netlify, however when I'm trying to run my app whether it is locally or via netlify I'm getting the below error message when logging in or/and registering: Uncaught Error: Element type is…
Morris
  • 13
  • 4
0
votes
1 answer

Google search indexing not picking up pages

I have thousands of pages on my website: https://twoshot.app at https://twoshot.app/robots.txt, you get: # https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: Checking my google search console says pages are blocked, though - and only…
Tobiq
  • 2,489
  • 19
  • 38
0
votes
1 answer

Nuxt 3: how to integrate Netlify forms (or add custom html) to client rendered app?

I am trying to integrate Netlify form in the footer of Nuxt 3 SPA website and Netlify deploy is not picking it up on build. Wondering if it's possible to add a hidden form (like on Nuxt 2) as static html? my form:
Tadas Majeris
  • 361
  • 2
  • 4
  • 12