netlify Questions

11

Solved

I have a Gatsby site that has been running smoothly for 3 months online. As of Friday 24th July I have started to receive the below result and users only see a blank screen. This is likely a bug...
Anthroposophy asked 26/7, 2020 at 21:40

11

I can run npm run build with no problems at all, but whenever I try and deploy my Next.js project to Netlify I get an odd error stating Deploy failed due to an error in @netlify/plugin-nextjs plugi...
Lazes asked 3/11, 2021 at 20:1

4

Solved

On my website, I have a few routes that are made using React-Router, that point to a few different pages on the website itself. It all works fine in Development mode, but the build version is where...
Plumlee asked 7/2, 2023 at 15:45

6

I have a site I've built with Next 13 (experimental app directory) and have integrated authentication in my site with Clerk. Everything works well on my local environment. When deployed to Netlify,...
Fictitious asked 14/5, 2023 at 15:53

9

Solved

I deploy to netlify using ng build --prod, and the website works. But when I go to it, it automatically changes the link by adding /home onto the end. It still works, but then if I refresh the page...
Sandysandye asked 17/8, 2018 at 2:18

4

Solved

I am trying to use this Gatsby starter with Netlify CMS. https://github.com/stackrole-dev/gatsby-starter-foundation I followed the instructions exactly but after enabling Git Gateway, when I try t...
Chamade asked 4/6, 2020 at 20:18

4

Solved

I have a built using create-react-app and hosted in netlify. In this link it is mentioned that I need to write redirect rules for SPAs. /* /index.html 200 But redirecting to index.html is not ...
Eliathas asked 5/5, 2019 at 9:17

4

I want to practice creating my own RESTful API service to go along with a client-side application that I've created. My plan is to use Node and Express to create a server. On my local machine, I kn...
Photolithography asked 22/3, 2021 at 23:58

2

Solved

I have the site built in React JS where I am using Vite as a JS Bundler. The problem is, when I deployed the site on Netlify and when reloading the page it says "Page not found". I tried ...
Hirst asked 8/2, 2023 at 13:52

5

Solved

While I was trying my project on localhost it was working fine, using https://cors-anywhere.herokuapp.com/ since I got the CORS problem. But once I deployed the site on Netlify, it gave me the erro...
Leith asked 2/6, 2020 at 16:44

5

I have created a site using CRA, If I run build it all works fine on Github-pages, but when I attempt to run the site through my Netlify account it shows up a blank page. It's connecting to the sit...
Chervil asked 14/9, 2020 at 21:10

3

Solved

I made a react build with vite.js. When building for production and testing on local host all is working fine. But when i deploy to Netlify or vercel routes that i created with react-router are not...
Beffrey asked 17/3, 2021 at 5:50

1

Built with Next.js, next-on-netlify, and the page in question is using getServerSideProps. Over an average of 10 page loads: Using yarn dev (Next.js local dev), the full request takes ~1 second. U...
Ante asked 10/12, 2020 at 22:8

3

Netlify wont allow you to deploy a website unless there is an index.html file. Nextjs didn't set me up with one when I did create-next-app. Anyone know how to fix this?
Rocha asked 19/2, 2021 at 23:59

2

I'm making a project using vite which uses vue-router@4. It works all fine but when viewing the links on vercel or netlify, i get a 404 error. Here is my index.js file (setup for router) import { c...
Benzaldehyde asked 15/5, 2022 at 13:50

4

Solved

For example, I'm trying to upgrade netlify-cli from 17.7.0 to 17.8.1 using yarn upgrade-interactive and the following error happens: ➤ YN0000: · Yarn 4.0.2 ➤ YN0000: ┌ Resolution step ➤ YN0082: │ @...
Nomenclator asked 3/12, 2023 at 8:12

2

Solved

I need to list contents of my site directory on Netlify for debug, but I can not find an option to turn on directory listings. Am I right that there is no such autoindex ability in Netlify as mod_a...
Jap asked 22/6, 2018 at 4:59

13

Deploying new projects started failing on Netlify. Checking the logs I see something that was not in the logs on previous successful deploys: Treating warnings as errors because process.env.CI = t...
Quiteri asked 16/6, 2020 at 19:3

3

Solved

I deployed my Vite React site on Netlify but my skill icons aren't rendered!! Here's the site.. I did execute npm run build before deploying, I got the dist folder and deployed that on Netlify. Bu...
Tesler asked 25/12, 2022 at 8:53

19

Solved

Trying to deploy create-react-app on netlify, however my build is blank page. I'm using .env file for loading firebase api key is that a problem for build? Even when I tried to open it locally on ...
Obliquity asked 8/4, 2019 at 7:59

10

Solved

I'm trying to deploy my reactjs site to Netlify via Github but it was unsuccessful. The error message was Failed during stage 'building site': Build script returned non-zero exit code: 2 The foll...
Melanosis asked 21/10, 2020 at 17:36

2

Solved

If I run the npm run build command locally and drag and drop the build folder in netlify, then it is hosted but it gives this big error. When I try continuous deployment from my github repository. ...
Kittenish asked 28/8, 2021 at 5:22

20

Solved

I'm running a static blogdown site and deploy it on Netlify. I source files on GitHub, Hugo builds the site, and Netlify deploys it. Netlify reports that the site is live (deploy log enclosed at th...
Kutaisi asked 8/6, 2018 at 2:0

6

I would like to build a Hugo site that can be: password protected (specific pages, not the entire site) be hosted with a private repo that is free or very low cost can be edited using a CMS inter...
Lahomalahore asked 24/3, 2018 at 21:47

2

I have this in server.js //socket io config const server = require('http').createServer(app) const io = require('socket.io')(server) io.on('connection', function (socket) { socket.on('SOCKET_COMM...
Jalbert asked 18/9, 2018 at 3:5

© 2022 - 2025 — McMap. All rights reserved.