今天安装 CocoaPods 时遇到了这个问题. ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: cocoapods requires cocoapods-trunk (< 2.0, >= 1.2.0), molinillo (~> 0.5.7), xcodeproj (< 2.0, >= 1.4.4), colored2 (~> 3.1), ru…
OS X 10.11 安装Cocoapods 出现问题的解决方法 今天尝试用 Cocoapods安装个第三方库.. 输入pod install, 发现 command not find. WTF! 估计是升级10.11后Cocoapods被干掉了. 我输入 sudo gem install cocoa pods 之后,出现如下问题: ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/x…
CocoaPods是什么,有什么用,怎么来等等我就不说了.反正就是一个管理第三方开源框架的~ 1. 配置前 - 本地安装好Ruby环境 2. 安装命令 -> sudo gem install cocoapods 墙挡了.出这个错 ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.…
今天在使用冷备份文件重做从库时遇到一个报错,值得研究一下. 版本:MySQL5.6.27 一.报错现象 dba:(none)> start slave; ERROR (HY000): Slave failed to initialize relay log info structure from the repository 这个时候查看error.log: 2017-07-17 16:19:02 9022 [ERROR] Failed to open the relay log './tjtx…
如果stop-dfs.sh也报了这个错,把$HADOOP_HOME/libexec/hadoop-config.sh中的如下内容之前加上 export JAVA_HOME=/home/lqr/Tools/jdk1.8.0_151 # Attempt to set JAVA_HOME if it is not set if [[ -z $JAVA_HOME ]]; then # On OSX use java_home (or /Library for older versions) if [ "…
当我们运行打包脚本npm run build或者打包iosweexpack build ios有可能会遇到以下报错 ERROR in index.js from UglifyJs ![](https://img2018.cnblogs.com/blog/1504257/201811/1504257-20181102141127347-447538002.png) 这是因为webpack在打包vue文件时没有成功转换ES6的语法 解决方法 解决方法很简单,加入babel-preset-es2015…
SVN服务没开启,步骤如下: 1.打开[控制面板]→[管理工具]→[服务]: 2.找到[visual SVN Sever],右击选择[启动]: 3.服务开启后,导入数据就成功了!…
项目中把controller.service抽取出来 一步一步没有报错 index那里加 <script src="js/controllers/XXController.js"></script>就报错了 [原因] 我抽取出来的controller头部也这样写了 angular.module('gflt.controllers', []) 正确写法 angular.module('gflt.controllers')…
[遇到问题解决问题,原谅我这个菜鸟] 加了services angular.module('starter', ['ionic', 'starter.controllers', 'starter.services']) 出现下面问题 [原因] index.html没有引入services.js ~~~~(>_<)~~~~ …
原文转自 http://blog.csdn.net/renyhui/article/details/23120469 [解决方案]在控件ID后面添加 "Static", SS_BITMAP, 如下面2幅图: (1) (2)…
[问题]进行镜像拉取时报错 [分析] 很多人会被第一句所蒙蔽,按照网上教程进行修改etc/sysconfig/docker,之后发现还是没有用. 其实这里重点是最后一句"certificate has expired",这里一般是本地时间不正确导致证书验证过期,同步时间即可. [解决] # 首先查看时间与时区date -R # 时区不正确更新命令cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime # 时间不正确更新命令ntpda…
转自:http://appsintheopen.com/posts/18-installing-the-libv8-ruby-gem-on-centos-5-8 First, Centos 5.8 ships with gcc 4.1.4, but to compile libv8 you need 4.4. Luckily, this step is easy: $ yum install gcc44-c++ Next, you need to tell the build to make u…
转自:http://chinacheng.iteye.com/blog/1738036 rvm安装ruby和rails之后,ruby -v好使,gem -v好使.但是rails -v不好使,提示没有安装rails应用. bundle -v也遇到了相同的问题.显然是系统没有把他加到相应的环境变量中去,手动添加环境变量可能是一种方式,当时既然我们用rvm来管理我们的各个版本的ruby和rails,那么这个时候我们去手动添加环境变量显然是不合适的. 那么到底是其他的什么原因的,是rvm,我运行rvm…
1 详细异常 2019-10-11 10:33:55,865 INFO main:com.cloudera.server.cmf.Main: ================================================================================ 2019-10-11 10:33:55,884 INFO main:com.cloudera.server.cmf.Main: Starting SCM Server. JVM Args: [-D…
今天上午遇到了一个问题,新创建的mysql5.7的数据库,由于初始化有点问题,没有给root密码,用了免密码登录. 但是,修改了root密码之后,把配置中的免密登录的配置注释掉后,重启服务.服务正常启动,用修改后的密码也可以正常登录, 但是执行任何操作,都提示: mysql > show databases; ERROR 1820  (HY000): You must reset your password using ALTER USER statement before executing…
配置CocoaPods后 - CocoaPods使用 极速化 CocoaPods : 1 .使用淘宝 Ruby Gems 源(Cocoapods 使用 ruby 开发) gem sources -l (查看当前ruby的源)gem sources --remove https://rubygems.org/gem sources -a https://ruby.taobao.org/gem sources -l 2 .升级gemsudo gem update --system 3. cocoap…
xcode (反正就是代码编辑器) Xcode就不用说了把. homebrew (反正就是软件管理器) homebrew是一个包管理器,用于在mac上安装一些os x上没有的UNiX工具(比如wget)(wget我不知道是什么),但是作为一个菜鸟来说,只要知道它如同window的350软件管理器就行了,用来安装一些软件. 官方网站:http://brew.sh/index_zh-cn.html RVM(Ruby Version Manager 反正就是安装和控制Ruby版本的工具) Ruby (…
这几天在用 Swift 开发一个简单的键盘扩展,真机调试时遇到了这个问题,详细信息如下: ***[:] Could not save pasteboard named com.apple.UIKit.pboard.general. Error: Error Domain=PBErrorDomain Code= "Cannot connect to pasteboard server." UserInfo={NSLocalizedDescription=Cannot connect to…
为了加强安全性,MySQL5.7为root用户随机生成了一个密码,在error log中,关于error log的位置,如果安装的是RPM包,则默认是/var/log/mysqld.log. 一般可通过log_error设置 mysql> select @@log_error; +---------------------+ | @@log_error | +---------------------+ | /var/log/mysqld.log | +---------------------…
摘要 git push throws error: RPC failed; result=56, HTTP code = 200的解决办法   原因 默认 Git 设置 http post 的缓存为 1MB,将其设置为 500MB   解决 git config http.postBuffer 524288000…
错误信息: /usr/local/memcacheq/bin/memcacheq: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory   查找链接包 : LD_DEBUG=libs /usr/local/memcacheq/bin/memcacheq -v | grep libevent      27382: fin…
简要记录一下在使用gulp-sass时候踩的坑,虽然不明所以然,但是似乎在https://github.com/dlmanning/gulp-sass/issues/1 找到了答案. 在使用gulpfile配置监听文件更新自动编译时候出现了一个这个错误:"error: File to import not found or unreadable: ./m-body" 而且会出现一种奇怪的现象,当改动某个文件遇到这个报错后再重新启动编译就正常监听了该文件了,但是其他文件却不行,都是得在那…
今天遇到一个非常难以排查的BUG,谷歌度娘都问过了依旧无解,最后自己重新尝试之后找到解决方案: 先看一下报错信息: 1>.\lenz.cpp(2197)  error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion) 1> D:\Program Files\VC\inc…
刷leetcode 263.uglynumber时,代码如下: class Solution { public: bool isUgly(int num) { int temp = num; ) return true; ){ == ) num = num / ; == ) num = num / ; == ) num = num / ; ) return true; else if (num == temp) return false; temp = num; } } }; int _tmai…
去官网下载压缩版的MySQL Server,解压配置path环境变量后.然后克隆my-default.ini创建my.ini文件,在文件中[mysqld]下面配置basedir和datadir basedir=%MySQL_HOME% datadir=%MySQL_HOME%/data 注意:不要自己在mysql安装目录下面创建data文件夹 配置好后,用管理身份运行cmd, 输入cd %MySQL_HOME%/bin 转到mysql 的bin目录下, 输入mysqld -install ,会打…
出现问题: 用java -jar XXX.jar -server -Xms900m -Xmx900m 或者 java -server -version 提示错误 Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.dll'.. 解决方法 copy ’server’ folder from the JDK’s JRE’s bin folder (example: C:\Program Files\Java\jdk…
今天在服务器上git pull是出现以下错误: error: Your local changes to the following files would be overwritten by merge: application/config/config.php application/controllers/home.php Please, commit your changes or stash them before you can merge. Aborting 不知道什么原因造成的…
1.问题描述: 运行报错: 12-25 13:35:32.286: E/Trace(1202): error opening trace file: No such file or directory (2) 注:虽然报错,但程序仍然能运行..... 2.原因分析: (1)网上的一些说法: 很多人在编写Android代码的时候都会遇到这个错误,按照字面翻译是“没有这类文件或者是目录”很多人不解为什么系统会提示这样的错误呢?明明就有啊.其实系统是找不到文件或者是目录! 很多人在写了很多class文…
  场景描述:被测系统是发布在远程服务器上的,假设IP是10.10.10.10,端口是8066,那么访问地址是http://10.10.10.10:8066/,在control机器上我设置了IP欺骗. 错误现象:在场景运行时出现大量Action.c(8): Error -27796: Failed to connect to server"server:port": [10060] Connection timed out错误. 官方的troubleshooting: 查看工具的tro…
原文连接http://blog.csdn.net/fenglifeng1987/article/details/38057193 用安装Python模块出现error: command 'gcc' failed with exit status 1 ,明明装了gcc的,怎么会不行呢,然后发觉是failed不是not found,这说明这个错误个gcc没多大关系,应该是缺少某些功能模块,然后谷歌了一下,先后安装了python-devel,libffi-devel后还是不行,最后发觉要安装opens…