会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
养猪至富
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2020年7月7日
错误:rpmdb: BDB0113 Thread/process 15381/140029102753600 failed: BDB1507 Thread died in Berkeley DB library 错误:db5 错误(-30973) 来自 dbenv->failchk:BDB0087 DB_RUNRECOVERY: Fatal error, run dat
摘要: s使用Ctrl+c 或者 Ctrl + z 或者 kill 或者其他原因 结束掉了yum进程,当再次执行yum的相关操作时报错: 错误:rpmdb: BDB0113 Thread/process 15381/140029102753600 failed: BDB1507 Thread died in
阅读全文
posted @ 2020-07-07 17:41 养猪至富
阅读(1301)
评论(0)
推荐(0)
2020年7月6日
wget和yum下载慢,更换阿里镜像源
摘要: 1.安装wget yum install -y wget 2.完事前都做备份 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 3.下载阿里云镜像文件 wget -O /etc/yum.repo
阅读全文
posted @ 2020-07-06 15:32 养猪至富
阅读(5252)
评论(0)
推荐(0)
2020年7月3日
TypeError: Cannot read property 'getUserMedia' of undefined
摘要: 解决方法: 步骤: 1、在浏览器的地址栏里输入 chrome://flags/#unsafely-treat-insecure-origin-as-secure 并回车 然后作如下修改 输入框中填写需要开启的域名,也就是你报错的地址,譬如 http://example.com",多个以逗号分隔。 2
阅读全文
posted @ 2020-07-03 23:11 养猪至富
阅读(8804)
评论(0)
推荐(3)
2020年6月27日
vscode使用SFTP同步代码到Windows上vmvare搭建的centos服务器上
摘要: 环境:自己Windows上安装的虚拟机centos,已配置好lamp环境 想要在Windows的浏览器访问centos上的代码,实现Windows上的代码同步到服务器上,并能正确访问 1、在Windows上新建一个文件夹,并用vscode打开 2、给vscode安装插件 由于我已经安装好了,所以显示
阅读全文
posted @ 2020-06-27 16:03 养猪至富
阅读(647)
评论(0)
推荐(0)
2020年6月7日
react-native-vector-icons的使用说明
摘要: 一、安装: npm install --save react-native-vector-icons 推荐在RN项目中使用yarn安装包依赖 yarn add react-native-vector-icons 二、修改相关的配置文件(以Android 为例): 1、打开 android/app/b
阅读全文
posted @ 2020-06-07 20:19 养猪至富
阅读(520)
评论(0)
推荐(0)
2020年6月6日
react-native安装和使用tabbar
摘要: 安装下载tabbar,推荐使用yarn yarn add react-native-tab-navigator 使用: 一:引入组件 import TabNavigator from 'react-native-tab-navigator'; 二:代码示例 注意:图片标签的source需要填你自己的
阅读全文
posted @ 2020-06-06 19:01 养猪至富
阅读(741)
评论(0)
推荐(0)
Super expression must either be null or a function, not undefined _inherits
摘要: 请检查你的导入和组件继承是否是正确的,注意大小写,单词拼写 import React, { Component } from 'react' 注意大小写和拼写 export default class xxx extends Component { 注意大小写和拼写 }
阅读全文
posted @ 2020-06-06 18:34 养猪至富
阅读(1109)
评论(0)
推荐(0)
ReferenceError: Can't find variable: Text This error is located at: in
摘要: 这个报错是说Text是无效的,没有找到 请检查,是否导入Text组件 import { View, Text } from 'react-native'
阅读全文
posted @ 2020-06-06 18:30 养猪至富
阅读(660)
评论(0)
推荐(0)
Invariant Violation: Home(...): Nothing was returned from render. This usual
摘要: 报这个错误,意思是你的render中没有return任何东西 可能你是这么写的: render() { return <View> <Text>Me</Text> </View> } 应该改成: render() { return ( 括号括起来 <View> <Text>Me</Text> </V
阅读全文
posted @ 2020-06-06 18:28 养猪至富
阅读(1208)
评论(0)
推荐(0)
react-native Image 组件加载网络图片无法显示出来
摘要: 对于RN的Image组件加载网络上的图片无法加载或者无法显示,显示不出来,解决办法: 给Image加上 宽高 即可。 加载本地的图片,无需设置宽高。
阅读全文
posted @ 2020-06-06 16:56 养猪至富
阅读(3616)
评论(1)
推荐(1)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告