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

Multiple pages on a Netlify github-deployed website?

I recently deployed a website from Netlify using a demo GitHub repo that I copied. Although it seems pretty straightforward at first, I know too little about JS, HTML and CSS to continue. I'm only looking to host three pages that contain only text…
Mav
  • 115
  • 9
0
votes
0 answers

How to fix Status Code:403 Error in Heroku?

I uploaded my backend to Heroku. However, when I do a fetch POST request from Netlify to the Heroku backend, I got this: Bad response! Please check your url. Status Code: 403 The backend runs but it gives me an error.…
0
votes
1 answer

Nextjs: How can i make a production build of next app and deploy it to netlify?

Folder Structure: I'm engaged in web 3.0 project work. Now that I want to show my boss a demo, I'm trying to create the build and upload it to Netlify.   Running yarn run build results in an error. I'm new to next.js and can't fix the problem.…
sohaib
  • 574
  • 5
  • 16
0
votes
0 answers

error "window" is not available during server side rendering

While trying to build my Gatsby site , I am facing an issue of undefined window , I am using a react library react-tiktok to embed tiktok videos in my site . while build the site , the building log shows this : error Page data from page-data.json…
0
votes
2 answers

pageContext array not accessible on netlify build

I don’t know why I can read this pageContext array content only locally but not on build I can access to the entire array but I can’t access to the single element inside id: 2:09:56 PM: error Cannot read properties of undefined (reading '0') 2:09:56…
0
votes
1 answer

some css properties are not applied on netlify deployed website ( react js )

I deployed my website with the git hub method, but some css properties are not applied on the deployed website, like Google fonts, background color, items are not aligned correctly, etc. I tried to search on the web but couldn't find the solution.…
gaurav joshi
  • 77
  • 1
  • 8
0
votes
2 answers

API not working after deploying on netlify. I'm using a proxy server

I have added the _redirects file in the public directory and I think the redirect is working as I'm getting a 200 status code in the network tab but the data is not showing up on the browser. Network showed no error 200 status code
0
votes
2 answers

How can I get my images to appear in my Netlify website? (sveltekit app)

I created a repo using sveltekit and successfully deployed it with Netlify, however the images will not load, their 'alt' attribute is all that shows up as seen in the image. If I run the project locally using 'npm run dev' the images DO appear…
Isabella
  • 49
  • 1
  • 3
0
votes
1 answer

How can I reflect the changes that I made to my webpack.config file in Netlify?

I have a react js project, and have made some changes to the webpack.config.js file located inside my node_modules directory. I have my project deployed on netlify but because node_modules is included in my .gitignore file, I don't have a way to…
ninja_nugget
  • 712
  • 1
  • 8
  • 19
0
votes
0 answers

Production response status 500 for Sveltekit Endpoints with Vite served on Netlify

Similar to this issue SvelteKit with Nginx returns response error 500 but I am using Sveltekit's post Vite 3 update, Contentfuls JS API and the Sveltekit Netlify Adapter and do not wish to prerender data. My folder structure looks like: src/ │ ├──…
LionOnTheWeb
  • 326
  • 2
  • 16
0
votes
1 answer

Netlify React Deploy Issues

I have been trying to deploy a react-app from my Github account and it keeps failing. I tried building the app first, and the drag-and-drop process worked. Please, what could be the issue? This is my deploy Log 1:57:03 AM: Most CI servers set it…
0
votes
1 answer

react app can't be deployed using netlify

Hello guys I'm struggling to deploy my react app tried some stuff but didn't work hope you can help this is my GitHub repo :https://github.com/azizlar4/project- this is the error I keep getting : ​ 12:14:58 PM: $ CI= npm run build …
0
votes
1 answer

Nextjs API Removing Cookie Success But Deployed on Netlify Removing Failed

Overview Hi, I am building a webapp using Nextjs, Firebase Authentication, Firestore, ChakraUI. Problem For the authentication, I stored the uid of user into cookie through the api. Here is the code /api/auth/login export default async function…
Yihan Duan
  • 13
  • 6
0
votes
1 answer

ReactDOM.createRoot() not inserting #root div on successful Netlify deploy

I am trying to deploy a React app to Netlify. The app works locally. The deploy succeeds with no errors but when I preview the site (shown below), the component is not inserted into the #root div inside index.html. The h1 in #root, which is in…
JBrown
  • 825
  • 6
  • 22
0
votes
0 answers

How to add a custom subdomain to netlify if the domain is hosted in AWS, using Route53?

I have a domain mydomain.com, hosted in AWS. This domain is added as a hosted zone in AWS Route53, so that I can manage all subdomains from there. I have a netlify url like https://my-netlify-address.netlify.app. I would like to customize netlify…
Alfred
  • 21,058
  • 61
  • 167
  • 249