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

How to fix this node-sass build error on Netlify?

I've done this many times in the past, I'm getting this error in the netlify logs. The repo I am attempting to deploy is https://github.com/yanyamz/Key_Visual_Arts. I checked to see if it was within size limitations of Netlify and it is, totally…
yanyamz
  • 63
  • 1
  • 4
6
votes
3 answers

Can I run a front-end and back-end on Netlify?

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 know how to set up a local server, but I would like to…
Eric
  • 1,167
  • 3
  • 11
  • 18
6
votes
1 answer

Gatsby with PostCSS 8 - Attempted import error: 'component.module.css' does not contain a default export (imported as 'styles')

I have a Gatsby and Sanity site that's based on a starter project. Everything has worked great so far, but I updated all of my packages and plugins today in my package.json file to get rid of all npm warnings. This included updating to Gatsby 3.0.3…
Riley Cook
  • 85
  • 1
  • 6
6
votes
1 answer

no index.html file in my nextjs app. Netlify doesn't like that

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?
Jacob Olenick
  • 61
  • 1
  • 1
  • 5
6
votes
2 answers

GitHub Actions fail with Gatsby Error: Input file contains unsupported image format

I use Gatsby and NetlifyCMS for my website and currently get the following error message at running Workflow in GitHub Actions: error "gatsby-plugin-manifest" threw an error while running the onPostBootstrap lifecycle: Error: Input file contains…
Arbnor
  • 2,190
  • 18
  • 26
6
votes
1 answer

gatsby/netlify CMS - javascript heap out of memory

Gatsby and Netlify CMS were running nicely for a while but now it fails when trying to run gatsby develop. With a "JavaScript heap out of memory" error. Every npm is updated and I've tried export NODE_OPTIONS=--max_old_space_size=4096 that some…
TrevPennington
  • 435
  • 5
  • 15
6
votes
1 answer

From where can I access my netlify.toml file?

So I have a couple of files in a GitHub repository, and I want to set up a custom 404 Error page. When I searched it up, It asked me to insert something in my netlify.toml file, which was supposed to be in my root directory(I think that means the…
Vthechamp
  • 636
  • 1
  • 8
  • 20
6
votes
3 answers

Is it possible to deploy a ReactJS website with json-server on Netlify?

I have an application built with ReactJS, but I'm using a fake API (json-server) to handle my data. So, before I run 'npm start' to run the application I have to run 'json-server server.json -p 3333' to run the server and I can't make it run on…
6
votes
2 answers

Nuxt compiles CSS Opacity at 1% instead of 100% when deployed to Netlify

I have a Nuxt app that works great locally. When I deployed it to Netlify (where yarn generate was run automatically), I noticed that there were some odd CSS things going on. I have a card with a hover effect: