我正在使用Gatsby中的Reach Router来设置客户端路由,如下所示,但是当我单击指向我的About页面的链接时,它会闪烁我的About组件中的内容,然后消失。 import React from "react"
import { Router, Link } from "@reach/router"
import About from "../components/about.js"
import Layout from "../components/layout"
const IndexPage = () =&g
我有一个盖茨比网站,已经顺利运行了3个月的在线。截至7月24日星期五,我已经开始收到以下结果,用户只看到一个空白屏幕。
This is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues
at h (gatsby-browser-entry.js:77)
at O9Ll.t.default (buybike.js:52)
at
我有一个gatsby项目,它工作良好,也有404页,但是我要么在gatsby build期间得到错误,要么在成功完成构建过程之后打开浏览器:
Building static HTML for pageserror: Error: ENOENT: no such file or directory
如果在gatsby build期间没有收到错误,那么在运行gatsby serve并打开浏览器时,必须打开浏览器:
Error: ENOENT: no such file or directory, stat '/project/public/404.html'
因此,我一直在尝试让我的Gatsby页面与Github页面一起工作,但在React和Javascript中,我仍然是一个newby。 这是repo (https://github.com/alexing/alexing.github.io)。 Firefox控制台抛出了这个404错误。 Refused to load the image 'http://www.alexingberg.com/favicon.ico' because it violates the following Content Security Policy directive: "img-sr