对于electron-react-boilerplate的学习笔记

1 前言

这里我们来学习一下electron-react-boilerplate的目录结构;

2 electron-react-boilerplate的复制

进入electron-react-boilerplate的官方网站使用git进行复制:

https://github.com/electron-react-boilerplate/electron-react-boilerplate#install

3 目录结构

3.1 package.json——项目的配置信息

5 Error信息说明

5.1 SimpleURLLoaderWrapper相关的错误

错误信息的具体内容是这样的:

这里有两个关键字:ERROR_CONNECTION_TIMED_OUT和SimpleURLLoaderWrapper,

So I infer that this might be caused by the firewall, so I tried using the global network to run the command "yarn dev",

然后果然错误就消失了,

错误内容1:

Failed to fetch extension, trying 4 more times
Failed to fetch extension, trying 3 more times
Failed to fetch extension, trying 2 more times
Failed to fetch extension, trying 1 more times
Failed to fetch extension, trying 0 more times

错误内容2:

Error: net::ERR_CONNECTION_TIMED_OUT
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2571:21)
    at SimpleURLLoaderWrapper.emit (events.js:223:5)

这两个错误信息都消失了;

所以以后遇到这种错误不用担心,这是网络连接的不稳定引起的;

猜你喜欢

转载自blog.csdn.net/songyuc/article/details/107484877
今日推荐