会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
themeth
博客园
首页
新随笔
联系
订阅
管理
2019年5月24日
codemirror 行高 字体 行间距 设置
摘要: 用的是 react-codemirror2 样式文件: 引入样式文件: 效果如下:
阅读全文
posted @ 2019-05-24 12:38 themeth
阅读(6384)
评论(0)
推荐(0)
2019年3月20日
svn commit时报错 File already exists
摘要: 第一步: 删除当前文件所在文件夹,提交commit 第二步: 新建刚才删除的文件夹,并将先前需要commit的文件放到此文件夹下,再次commit 提交
阅读全文
posted @ 2019-03-20 16:02 themeth
阅读(2876)
评论(0)
推荐(0)
2019年2月15日
Ubuntu 16.04.4 LTS环境中php7.0使用mysqli失败,数据库无法访问
摘要: 环境: Ubuntu 16.04.4 LTS php7.0 输入命令php -m,显示如下,发现没有mysqli模块 输入命令sudo apt install php-mysql,安装mysql模块,再次查看,发现安装成功,连接数据库正常。(若有必要,重启php,nginx或apache)
阅读全文
posted @ 2019-02-15 19:02 themeth
阅读(1135)
评论(0)
推荐(0)
2018年12月25日
No application encryption key has been specified
摘要: laravel项目显示:No application encryption key has been specified 解决办法: 项目根目录下执行 php artisan key:generate
阅读全文
posted @ 2018-12-25 18:51 themeth
阅读(422)
评论(0)
推荐(0)
2018年12月22日
Your requirements could not be resolved to an installable set of packages
摘要: 使用composer下载laravel安装程序时(composer global require "laravel/installer"),报截图中的错误。 解决: 根据提示可知,没找到php的zip扩展,可执行以下的命令,再次下载没有报错。其他扩展缺失也是执行这样的命令。 sudo apt-get
阅读全文
posted @ 2018-12-22 14:47 themeth
阅读(4149)
评论(0)
推荐(0)
2018年12月17日
Error! Failed to install react, react-dom, next, try again.
摘要: 问题:用create-next-app创建应用报错,部分模块没有安装,react、react-dom、next等模块安装失败,如下图所示 操作环境: 系统:Ubuntu 16.04.4 LTS npm:6.4.1 解决方法:命令前加上“sudo”,react、react-dom、next等模块创建成
阅读全文
posted @ 2018-12-17 12:38 themeth
阅读(314)
评论(0)
推荐(0)
2018年12月6日
阿里云服务器ECS上ubuntu安装nginx后默认站点页面打开错误,显示无法访问此网站
摘要: 问题:在新买的阿里云服务器ECS上安装nginx后打开默认页面失败,如下图所示。 系统环境:Ubuntu 16.04.4 LTS64版本。 步骤回顾: 解决: 阿里云控制台没有相关的安全组记录,需添加配置。步骤如下: 1.登录阿里云管理控制台,在实例后面的更多里选择网络和安全组里的安全组配置 2.新
阅读全文
posted @ 2018-12-06 00:46 themeth
阅读(2430)
评论(0)
推荐(0)
公告