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

Connect Only Domains Domain name to Netlify

I have registered a domain name in Only Domains website, it is provisioned, Yet I am unable to link it to my Netlify project. Steps I followed till now: Went to Only Domains -> Domain Name -> DNS Settings Clicked on: Delegate to Your Name Servers,…
StandardProc
  • 85
  • 1
  • 8
0
votes
0 answers

Is it possible to read a pdf file in a serverless function?

I would like to parse a pdf file uploaded on the frontend with a serverless function. It works locally with a nextjs api route and multer. But will it work in production? Multer basically copies the file on the server and then allows the node script…
DoneDeal0
  • 5,273
  • 13
  • 55
  • 114
0
votes
1 answer

chart js error in next js site hosted on netlify

everthing is working fine in development on my local machine, but when I deploy my site to netlify, I get this wierd error in console. the page data is gotten using getStaticProps function and then passed to the page as props. here is how the data…
0
votes
1 answer

heroku build error: Treating warning as errors

Build error: Treating warnings as errors because process.env.CI = true. Most CI servers set it automatically. My OS: Windows 10
Danny1911
  • 21
  • 1
  • 4
0
votes
1 answer

Netlify deployment not displaying page content

I have simple Javascript project that builds correctly locally, and I get this result However, when I deploy it on netlify or run netlify deploy locally I get the image below from the draft URL In my netlify.toml file I have the following…
Ben
  • 139
  • 1
  • 2
  • 10
0
votes
0 answers

Redirect to another netlify site with nuxt doesn't load correctly

So, inside my Netlify account (same team) I have two different websites. The main website is: https://entertainyou.netlify.app The detail website is: https://wtf-lmey.netlify.app On the main website I have a redirect set in the…
0
votes
1 answer

Endpoint redirection in Netlify - Deploy inside a folder

I have a built using create-react-app and hosted in Netlify. I created a file called _redirects in folder 'public', but it did not work. The redirect is not happening. /* /index.html 200 I tried change the package.json: "scripts": { .... …
0
votes
1 answer

How To Use Netlify Split Testing Based on a Condition?

newbie here I want to try the Netlify split testing feature which basically split the traffic randomly on multiple GitHub branches (but keeps the same URL). But what I need to do is instead of splitting the traffic randomly on different versions, I…
jawad
  • 1
  • 1
0
votes
0 answers

How to deploy nextjs site to netlify and avoid build.command failed error

As I'am trying to deploy my site through netlify I always getting the following error. Until no solution has worked for me. Tried to set a new Environment setting variable "CI false". Now I'm a bit lost. Hope there is anyone who can help me…
0
votes
0 answers

ENOENT: no such file or directory, open uploads

I want to upload pictures to my nodejs app which has been hosted on netlify, it work on the local environment but after hosting on netlify it seems it can't locate the uploads folder to put the file there... Upload code const multer =…
TRI NI TY
  • 1
  • 1
0
votes
1 answer

netlify deploy issue, "build.command" failed

help please I keep on getting this error and I don't know what's wrong first I use the npm run build then it gave me the same error then I watch YouTube and change it to CI= npm build but this error is still showing up, how can I fix this?
0
votes
0 answers

Netlify deployed but page not showing

so basically its my first time deploying in netlify and it says deployed but when i visit the link it says it can't be reached i don't know how to fix this i search from google, FAQ and even in youtube but nothing works
0
votes
0 answers

Cannot set properties of null but the item exists HTML JavaScript

I'm adding titles to existing divs. I'm using Visual Studio's Live Server and it works perfectly but when I upload it on Netlify it gives me "null" error. I can't figure out why is it doing that. Here's the part of the code where's the error: while…
user17765346
0
votes
0 answers

Image flash alt tag for a split second before showing in next js

After deploying my first app with next js to netlify I noticed that when you reload the page the image flash the alt tag of that image for a split second before showing the image itself. Now I have only noticed the error when I deploy the site to…
0
votes
0 answers

Sanity Project - Kitchen Sink - Netlify build-web hangs after graphql-deploy

Create Kitchen Sink | Sanity Hey guys, I was trying to deploy this Sanity project to Netlify but it stopped when it got to the Graphql part. Appreciate any help! Thanks! Build log: 6:15:14 PM: > sanity-kitchen-sink-studio@1.0.7…