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
3 answers

CSS and JS are not loading when i deploy the site on github, netlify

https://github.com/MadhavaY/RandomQuotesGenerator here is the link to the repository. HTML is loading but css and js are not. Link to the website https://madhavay.github.io/RandomQuotesGenerator/. I saw other answers too but i could not get where…
0
votes
0 answers

What is the difference between Netlify Functions and Next.js API routes?

Hi I'm new to Nextjs and Netlify. I am currently working on a Next.js project that is hosted on Netlify and wanted to learn best practices. My questions are: What is the difference between Netlify Functions and Next.js API routes? When would I use…
Jeff Wong
  • 11
  • 1
0
votes
1 answer

How to enable CDN for a subdomain with external web server?

My landing page is a static built website on Netlify. Then I have a subdomain, which is an A record in DNS (set in Netlify). This subdomain is points to an external web server (nginx+Django), which provides REST API and serves static content. The…
Konstantin Kozirev
  • 944
  • 1
  • 10
  • 23
0
votes
1 answer

Hugo: Escape special Characters in taxonomy (tag) paths

I have post tags like C# and F#. Similar cases also show up in titles. The problem is that Hugo does not appear to support # in a url. Such pages 404 and fail my Netlify build. With content pages, I can set an explicit url to get around the special…
farlee2121
  • 2,959
  • 4
  • 29
  • 41
0
votes
1 answer

FaunaDB returns empty array (FaunaDB + Netlify + VueJS)

My code is based on the repository - https://github.com/ttntm/recept0r-ts Code from "\functions\read-all.js": const faunadb = require('faunadb'); const fnHeaders = require('./_shared/headers.js'); exports.handler = (event, context) => { const…
Michael
  • 1
  • 2
0
votes
2 answers

Redirected Custom 404 Page is Loading Infinite Times in Netlify Hosting

My website (based on React.js) aritraroy.live is hosted on Netlify. Now, I was trying to add a custom 404 page for my website, as the default 404 page by netlify is not at all satisfying. I followed an article by Rajan Tiwari…
0
votes
1 answer

How to import javascript libraries using Parcel/Netlify?

I'm building a vanilla js app and using CDN's works fine, but If I install an app like typed.js with npm, and then import it as import typed from 'typed.js' it works as it should on a local dev server. However, once I push it and it's built on…
Stephan
  • 345
  • 2
  • 14
0
votes
1 answer

Netlify throws 404 error with /graphql only when deployed

I have an app which I had pushed to heroku a few days ago, where it works fine, but when deploying the app to Netlify, the app deploys but the graphQL connection throws a 404 error. Here are some images. Here is the code I use in App.js Is there…
Chance
  • 38
  • 3
0
votes
2 answers

problems with deploying react project on netlify

netlify giving me error cant figure it out. I tried CI= npm run build
knom
  • 1
  • 1
0
votes
1 answer

Why am I getting an error message when I try to deploy my Gatsby website?

I have a Gatsby app. When I build it locally, it works fine, but when I try to deploy it to Netlify or Gitlab, I get the below error message: Netlify error message: 8:44:20 PM: npm WARN config tmp This setting is no longer used. npm stores…
iamaprogrammer
  • 115
  • 3
  • 10
0
votes
0 answers

problem with mail function from netlify to mailgun

I have a Hugo site running on Netlify with Mailgun-js for a couple of forms. I try and run a simple contact function in Netlify but get a JSON related error Jun 24, 12:57:15 PM: 7af5f746 ERROR Invoke Error …
0
votes
0 answers

Serverless function rendering the code instead of executing it

So I was trying to host a serverless function today. First I tried Vercel, /api/index.js And it was working fine in dev but as soon as I deployed it it started sending the code in response instead of executing the file and sending response as stated…
0
votes
0 answers

failed during deployment on netlify with an error : Build script returned non-zero exit code: 2

12:02:27 PM: Build ready to start 12:02:29 PM: build-image version: a49edbc55fc722f80f6b85963a5060f8d043a844 (focal) 12:02:29 PM: build-image tag: v4.8.1 12:02:29 PM: buildbot version: 3eebc38122efab6c175df98627632780779354a6 12:02:29 PM: Fetching…
0
votes
1 answer

Is it possible to implement search on a git based CMS?

I'm using a git-based CMS (Netlify CMS) and need to implement the content's search functionality. Is it possible in git-based CMS?
E_K
  • 2,159
  • 23
  • 39
0
votes
1 answer

Default for Gatsby createRedirect that doesn't match condition, it should have default redirect

I am interested in createRedirect actions. I would like to utilize this to redirect user in specific country with particular language, and give english for unspecified country. createRedirect({ fromPath: `/`, toPath: `/id/`, conditions: { …
satriahrh
  • 37
  • 1
  • 7
1 2 3
99
100