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
8
votes
1 answer

Website not updating with blogdown & hugo

I know this question is likely to get down-voted due to insufficient reproducibility of code leading to the error, but I am so dumbfounded by the error I do not even know where to start in explaining it clearly enough. I therefore apologise in…
JimGrange
  • 262
  • 2
  • 10
7
votes
1 answer

Vue router works on dev server but not on vercel vite

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 { createRouter, createWebHistory } from…
PaddyCooper08
  • 111
  • 2
  • 6
7
votes
2 answers

React.js (Vite) application returns 404 on return in monorepository

Nevermind... Mistake was related to the codebase (where I'm using monorepo and vercel.json was on the root directory. After moving vercel.js to package with react application everything was working perfectly. The 404 Problem I have a simple…
keinsell
  • 426
  • 5
  • 16
7
votes
1 answer

Serverless handler for Apollo Server throws error that it cant identify events on Netlify

Context: I am trying to deploy GraphQL using Apollo Server Lambda through Netlify. My handler is as below: Code: exports.handler = server.createHandler({ cors: { origin: '*' } }); I was able to build and deploy successfully on Netlify -…
Guru
  • 71
  • 2
7
votes
3 answers

Problem with configuring Netlify CMS with Git Gateway

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 to login in as admin I encountered this error massage.…
Joji
  • 4,703
  • 7
  • 41
  • 86
7
votes
1 answer

Chrome says SSL invalid, but certificate is valid

I created a front-end hosted at www.example.com through netlify. The front-end makes API calls to a load balancer address hosted on AWS. Through Netlify, I set up an A record, so that server.example.com points to the load balancer. In Amazon…
a94
  • 564
  • 1
  • 7
  • 16
7
votes
1 answer

Need to refresh previously vistied Gatsby site to view changes

I have a Gatsby site hosted on Netlify. When I deploy a new version, the changes I made to the site aren't visible until I do a page refresh. Does anyone know why that would happen? I am using gatsby-plugin-offline & gatsby-plugin-manifest. I saw…
jevenson
  • 164
  • 3
  • 5
7
votes
0 answers

variables stored in .env file not loading in production build in netlify

I'm using create-react-app and my code looks like this const firebaseConfig = { apiKey: process.env.REACT_APP_FIREBASE_API_KEY, authDomain: process.env.REACT_APP_AUTH_DOMAIN, databaseURL: process.env.REACT_APP_DATABASE_URL, projectId:…
Mistborn
  • 86
  • 6
7
votes
1 answer

"Module not found" Error when deploying Nuxtjs app to Netlify

My nuxt app is runing locallly without problems but when im trying to deploy the site to Netlify I got error like: "Module not found: Error: Can't resolve '~/components/Navbar.vue' in '/opt/build/repo/layouts'" I'm getting the following…
hiraz
  • 77
  • 1
  • 6
7
votes
2 answers

Configuring HTTPS for Netlify subdomain registered on AWS Route 53

I have two websites hosted on Netlify. The first has the following domains mydomain.io www.mydomain.io Netlify's one-click HTTPS works perfectly. In AWS Route 53 I have the following configurations: NS mydomain.io dns3.p08.nsone.net…
benwiz
  • 2,167
  • 3
  • 22
  • 33
7
votes
3 answers

How to run php files on netlify?

I build a website which has a form. Contact form redirects to contact.php on submit. For some reason whenever I submit, it says page not found. index.html ...
Name:
Sohel Shaikh
  • 400
  • 1
  • 8
  • 18
7
votes
3 answers

Netlify form submissions are blank

When I submit my Netlify form the server responds with a 200 status and I get the 'thank you' response page. However, when I check the form submission in the Netlify admin, they are all blank. I've inspected my xhr requests and the data shows in the…
dlaub3
  • 1,107
  • 9
  • 20
7
votes
1 answer

How to make a one to many connection between Netlify CMS and Gatsby

I'm using Netlify CMS on a gatsby site. I used the netlify CMS relation widget on my post collection to reference the title field of my author collection, so... - {label: "Author", name: "author", widget: "relation", collection: "authors",…
Matt
  • 424
  • 4
  • 11
7
votes
3 answers

How to handle Contentful content data in Gatsby

I'm interested in using Gatsby to build a Netlify static site using content from Contentful Netlify has this nice gettting started Gatsby guide: ​​https://www.netlify.com/blog/2016/02/24/a-step-by-step-guide-gatsby-on-netlify But I'm a bit unsure…
ChatGPT
  • 5,334
  • 12
  • 50
  • 69
6
votes
1 answer

Command failed with exit code 134: npm run generate

I'm trying to deploy my nuxt js project to netlify. The installation part works fine, But it returns an error in the build process. I tried to search google but I can't find any solution to this problem. I also tried this command CI= npm run…
Hasibur Rahman
  • 641
  • 2
  • 7
  • 18