netlify

Gatsby Build Fails on Netlify Deploy

久未见 提交于 2020-07-09 06:11:50
问题 My site is built using Gatsby with continuous deployment to Netlify. I haven't touched my Gatsby site in two months. So, when I ran updates and added new content and deployed I ran into a breaking error on Netlify build. Tried many things and spent too many hours on it already. Originally I was using only npm. After banging on that for a while I switched to yarn as was suggested on some online threads. Getting a different error message now with yarn, but still no luck with the deploy to

Gatsby Build Fails on Netlify Deploy

廉价感情. 提交于 2020-07-09 06:11:08
问题 My site is built using Gatsby with continuous deployment to Netlify. I haven't touched my Gatsby site in two months. So, when I ran updates and added new content and deployed I ran into a breaking error on Netlify build. Tried many things and spent too many hours on it already. Originally I was using only npm. After banging on that for a while I switched to yarn as was suggested on some online threads. Getting a different error message now with yarn, but still no luck with the deploy to

Netlify is displaying the html version of my Gatsby website

给你一囗甜甜゛ 提交于 2020-07-08 10:23:46
问题 The website build is at https://5efbc255ca51be00080b5219--epic-raman-086510.netlify.app/ . It looks like the javascript isn't running, and only the html version(supposed to only be displayed to search engines) is being displayed. It kinda looks like it might only be the home page. You can visit theWebsiteBuildLink/publications , or theWebsiteBuildLink/publications to see it working for other pages. I've noticed the tab at the top of my browser displays a loading animation indefinately Update

Netlify is displaying the html version of my Gatsby website

僤鯓⒐⒋嵵緔 提交于 2020-07-08 10:23:23
问题 The website build is at https://5efbc255ca51be00080b5219--epic-raman-086510.netlify.app/ . It looks like the javascript isn't running, and only the html version(supposed to only be displayed to search engines) is being displayed. It kinda looks like it might only be the home page. You can visit theWebsiteBuildLink/publications , or theWebsiteBuildLink/publications to see it working for other pages. I've noticed the tab at the top of my browser displays a loading animation indefinately Update

Publishing a .NET Core / Angular 4 Project to Netlify

眉间皱痕 提交于 2020-06-26 04:12:24
问题 Does anyone have experience publishing a .NET/Angular project to Netlify? I'm using the Angular Microsoft.AspNetCore.SpaTemplates template. On Netlify, I'm getting a non-zero exit code that's preventing me from publishing. Here is my output: 9:44:44 AM: Build ready to start 9:44:44 AM: Fetching cached dependencies 9:44:44 AM: Starting to download cache of 8.9MB 9:44:45 AM: Finished downloading cache in 225.765972ms 9:44:45 AM: Preparing Git Reference refs/heads/master 9:45:00 AM: Running

Publishing a .NET Core / Angular 4 Project to Netlify

孤人 提交于 2020-06-26 04:10:03
问题 Does anyone have experience publishing a .NET/Angular project to Netlify? I'm using the Angular Microsoft.AspNetCore.SpaTemplates template. On Netlify, I'm getting a non-zero exit code that's preventing me from publishing. Here is my output: 9:44:44 AM: Build ready to start 9:44:44 AM: Fetching cached dependencies 9:44:44 AM: Starting to download cache of 8.9MB 9:44:45 AM: Finished downloading cache in 225.765972ms 9:44:45 AM: Preparing Git Reference refs/heads/master 9:45:00 AM: Running

Securing API Keys In JAM Stack

时光总嘲笑我的痴心妄想 提交于 2020-05-27 06:20:23
问题 I am new to JAM stack. The web applications in JAM stack (I am hosting my app in Netlify ) will be completely relied upon APIs for storing info and authentication, right? So my concern is that I would have to expose all of my API keys publically in my JavaScript code. Anyone who knows how to open up the site source could see my API secrets and can be easily misused. I was reading through an open issue in JAM stack repo here on Github How can I secure my API Keys from eavesdropping and misuse?

Securing API Keys In JAM Stack

微笑、不失礼 提交于 2020-05-27 06:20:16
问题 I am new to JAM stack. The web applications in JAM stack (I am hosting my app in Netlify ) will be completely relied upon APIs for storing info and authentication, right? So my concern is that I would have to expose all of my API keys publically in my JavaScript code. Anyone who knows how to open up the site source could see my API secrets and can be easily misused. I was reading through an open issue in JAM stack repo here on Github How can I secure my API Keys from eavesdropping and misuse?

Deploy gatsby site to netlify with --prefix-paths

删除回忆录丶 提交于 2020-03-23 23:51:42
问题 I'm trying to deploy a blog site built with Gatsby to Netlify. The thing is, I want to serve the site from /blog. Following the docs, I changed the gatsby-config.js to include pathPrefix like so: module.exports = { pathPrefix: `/blog`, siteMetadata: {...}, plugins: [...] } Next, I changed my build command to include --prefix-paths: gatsby build --prefix-paths When I run the site locally using gatsby serve --prefix-paths everything works fine. However, after I deployed to netlify the site is

Gatsby build error on Netlify: error Multiple “root” queries found in file

时光总嘲笑我的痴心妄想 提交于 2020-03-03 14:02:00
问题 I cannot make a build on Netlify but I did it successfully in my terminal on macOS. What does "root queries" mean?, does anyone got same issue ? Here's the log from netlify: 11:10:25 AM: success createPagesStatefully - 0.217s 11:10:25 AM: success onPreExtractQueries - 0.000s 11:10:25 AM: success update schema - 0.065s 11:10:25 AM: error Multiple "root" queries found in file: "headerTitleQuery" and "headerTitleQuery". 11:10:25 AM: Only the first ("headerTitleQuery") will be registered. 11:10