我主要参考这篇文章来搭建easy-mock,但是在自己搭建的过程中遇到一些其它的问题,所以写了这边文章来记录搭建的细节,也算是对这篇文章的补充吧。 搭建easy-mock主要分成两种途径:一、需要分别安装node、mogonDB、Redis,而且node 的版本不能超过v9;二、基于docker-c ...
问题症状 Nginx的错误日志里,有如下信息: no resolver defined to resolve example.com 问题原因 这已经和明显了,就是提示你没有定义resolver指令。 Nginx就这样,它不理会系统的DNS(/etc/resolv.conf)配置。 如果你在配置文件 ...
分类:
其他好文 时间:
2021-03-05 13:00:35
阅读次数:
0
static int tcp_open_socket(unsigned short port, const char *bindaddr, const char *ifname){ int fd = -1, n, af, opt; struct sockaddr_in si; struct sock ...
分类:
其他好文 时间:
2021-03-03 12:28:42
阅读次数:
0
const hrefs = this.$router.resolve({ path: "/upVideo", query: { key: row.key, index: index } }); window.open(hrefs.href, "_blank"); ...
分类:
其他好文 时间:
2021-03-03 11:54:59
阅读次数:
0
Some think we can acquire knowledge from news reports. Others believe we cannot trust journalists. What do you think? What important qualities should ...
分类:
其他好文 时间:
2021-03-02 12:39:13
阅读次数:
0
异常: java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*"since that cannot be set on ...
分类:
编程语言 时间:
2021-03-02 12:28:35
阅读次数:
0
本地安装的是Python 3.7,拿到的是Python 3.8的项目,一运行报:Cannot run program "D:\python\python.exe" ,这个路径是别人电脑上的Python解析器路径,而我本地根本没有这个路径 解决办法:关闭Pycharm,然后将项目下的.idea文件删除 ...
分类:
编程语言 时间:
2021-03-02 12:11:15
阅读次数:
0
1. Cannot determine embedded database driver class for database type NONE @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) 2. \ta ...
分类:
其他好文 时间:
2021-03-01 13:58:00
阅读次数:
0
webpack + vuecli多页面打包基于(vue-template-admin)修改 遇见的问题TypeError: Cannot read property ‘tap’ of undefined 先看项目目录结构 :关于项目的修改及改造 再项目完事的时候会发布的 如果你也遇见这个问题的话 这 ...
分类:
Web程序 时间:
2021-03-01 13:24:10
阅读次数:
0
关于webpack配置服务webpack-dev-server的报错问题:Error: Cannot find module 'webpack-cli/bin/config-yargs' 安装本地服务步骤: 1、安装 loader:npm install webpack-dev-server --s ...
分类:
Web程序 时间:
2021-03-01 13:11:48
阅读次数:
0