Your requirements could not be resolved to an installable set of packages. 以上原因:不匹配composer.json要求的版本. 解决方案: composer可以设置忽略版本匹配, composer install --ignore-platform-reqs composer update --ignore-platform-reqs 再次执行composer命令可以正常安装包了. 原文链接:https://blog.…
composer 报错: - Your requirements could not be resolved to an installable set of packages xxxxxxxxxxxxxxxxxxxxxx-> no matching package found. xxxxxxxxxxxxxxxxxxxxxx-> no matching package found. Potential causes: - A typo in the package name - The pac…
composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs…
环境 OS:Ubuntu 16.04 背景 使用ceph-deploy部署Ceph集群,调用ceph-deploy install命令在远端节点安装ceph环境,执行apt-get update命令时失败. Err:1 http://mirrors.163.com/ubuntu xenial InRelease Temporary failure resolving 'mirrors.163.com' 分析 ceph-deploy的原理,就是ssh免密码登录到远端节点,然后执行各种命令.和刚才的…
composer update 命令会直接把依赖的包更新到最新,会导致整个项目代码都是没有经过测试的不稳定代码 所以一定要禁止使用该命令. 正确的做法是: 更新指定的包到指定的版本(高版本的包也可以更新到低版本) 不指定版本号的包安装: composer require "symfony/yaml" 指定版本号的包安装: composer require "symfony/yaml:3.2.8" 安装可能太慢,因为都是国外的镜像,尝试更换composer镜像: ht…
报错内容: root@kali:~# apt-get updateGet:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB]Err:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali…
执行composer install后报以下错误: Loading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages. Problem 1 - laravel/horizon v1.4.…
➜  yii-advanced composer update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - yiisoft/yii2 2.0.9 requires bo…
未解决 composer installLoading composer repositories with package informationUpdating dependencies (including require-dev)Your requirements could not be resolved to an installable set of packages. Problem 1 - codeception/base 2.4.0 requires codeception/…
报错信息: Loading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages. Problem 1 - doctrine/instantiator 1.1.0 requires php…
1.composer install install 命令从当前目录读取 composer.json 文件,处理了依赖关系,并把其安装到 vendor 目录下. php composer.phar install 如果当前目录下存在 composer.lock 文件,它会从此文件读取依赖版本,而不是根据 composer.json 文件去获取依赖.这确保了该库的每个使用者都能得到相同的依赖版本. 如果没有 composer.lock 文件,composer 将在处理完依赖关系后创建它. 2.co…
这是我们使用自建 docker swarm 集群后在部署时遇到的一个问题,使用 docker service update 命令更新服务时, docker service update -d=false --force service_name 在更新的过程中服务有短暂的时间不能访问. 该服务中运行的是 asp.net core web api ,所使用的 Dockerfile 如下: FROM microsoft/aspnetcore:1.1.2 ARG PROJECT WORKDIR /ap…
先执行如下语句 composer global require "fxp/composer-asset-plugin:dev-master" 再执行 composer update…
1.通过https://mirrors.tuna.tsinghua.edu.cn镜像源安装了MySQL5.7.22 rpm -ivh --force --nodeps https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql57-community-el7/mysql-community-client-5.7.22-1.el7.x86_64.rpm rpm -ivh --force --nodeps https://mirrors.tuna.tsi…
MySql 执行 DELETE FROM Table 时,报 Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect. 错误,这是因为 MySql 运…
maven项目引用时,导入类报错,选择两个项目同时执行Maven update springboot引入第三方jar,需要扫描时加@ComponentScan("第三方的包名") 尽量不要在第三方jar中使用@注解…
原 maven执行update命令时报org/apache/maven/shared/filtering/MavenFilteringException错误 在eclipse中对准项目执行maven->update project命令时报错:org/apache/maven/shared/filtering/MavenFilteringException,让人不胜其烦. 解决办法:删除.m2下repository文件夹下org/apache/maven下的文件夹,然后重新update proje…
今天使用mybatis和jpa的过程中,发现这样一个问题: mybatis执行一个update方法,返回值为1,但是数据库中数据并未更新,粘贴sql语句直接在数据库执行,等待好久报错:Lock wait timeout exceeded; try restarting transaction 最后发现: 1.实体在前面 是使用JPA查询得出的 2.在后面update的时候,是使用mybatis去做update的 这就导致了前面的锁还没有释放,后面update的时候 就在等待锁的释放. 虽然myb…
Ubuntu 解决:当执行sudo apt-get update或者sudo apt-get install命令是出现的 "apt-get 404 Not Found Package Repository Errors" 问题 和 "E: Some index files failed to download They have been ignored, or old ones used" 问题 当你执行sudo apt-get update命令的时候,如果你遇到…
前言 执行命令npm publish报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest2 - You cannot publish over the previously published versions: 0.0.1. 原因 不能在以前发布的版本上发布:0.0.1,所以我们需要升版本,更改包的package.json文件的版本号,然后重新发布…
写了一个bat命令,定期去清理一些SQL Server的Dump文件,然后配置成SQL Server作业,作业执行时报权限错误,具体错误信息如下所示: Message Executed as user: NT Service\SQLSERVERAGENT. The process could not be created for step 1 of job 0xCA038C081E9BEF4C825DA0F543C86D2F (reason: Access is denied).  The st…
我的方法是:npm install --save core-js(全局安装竟然不行,必须局部) vue-cli新版提供了界面化项目管理的功能,简直一万个赞! 在安装 vue-cli 3.x  版本后,执行 vue ui 命令打开管理界面,命令行中出现如下错误: Error: Cannot find module 'core-js/modules/es7.object.entries' at Function.Module._resolveFilename (module.js:547:15) a…
init(初始化) 该命令用于创建 composer.json 文件,并进行基础信息配置: $ composer init 可以配置Package name.Description.Author.Minimum.Package Type.License.dependencies 及 dev dependencies 信息. 完成后配置文件内容如下: { "name": "test/test", "description": "test…
在阿里云服务器增加一个shell脚本定时备份数据库脚本执行任务时,测试性的执行了备份命令,如下 [root@iZ2ze503xw2q1fftv5rhboZ mysql_bak]# /usr/local/mysql/bin/mysqldump -uroot -pmyServerPwd# dateabase > /data/mysql_bak/bak_test.sql 执行完命令并没有出现备份文件,报错 mysqldump: Got error: : The user specified as a…
首先MAC自带了ruby,他是用rvm 管理的, 如果你用homebrew又安装了一个新版,很可能在升级cocoapods时遇到问题,明明自己用homebrew升级到最新版本了,页配置环境变量了,为什么还是无法升级cocoapods? 因为系统默认还是用 要用到一个气泡显示器,用了git上面的一个第三方库 执行pod install 命令报错: $ pod install Analyzing dependencies [!] Unable to satisfy the following req…
执行apt-get install fcitx时,报如下错误 grub-pc E: Sub-process /usr/bin/dpkg returned an error code (1) 通过执行下面的命令可以解决该问题: sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/ sudo mkdir /var/lib/dpkg/info/ sudo apt-get update sudo apt-get upgrade sudo apt-inst…
原文地址:https://www.wjcms.net/archives/composer更新命令及常用命令 composer作为php的包依赖管理工具,开发者将开发的工具包上传,然后使用者能很方便的使用,今天就总结一下. composer安装 官方地址:https://getcomposer.org/download/ 下载地址:https://getcomposer.org/Composer-Setup.exe 下载后直接安装即可. 检查是否安装完成 使用命令: composer --vers…
svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”.无论你到那个父层次的目录执行“clean up “,都是报一样的错.执行cleanup时候,提示要cleanup.看来是进入死循环了. 1.    内嵌数据库一般是用sqlite进行轻量级管理的.网上可以下到sqlite-shell-win32-x86: sqlite3.exe 2.    为了方便命令行执行,将…
大概的信息就是提示让登陆github,然后就报错了 Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limit The credentials will be swapped for an OAuth token stored in /Users/username/.composer/auth.json, your passwo…
composer list 列出所有可用的命令 composer init 初始化 composer.json文件(就不劳我们自己费力创建啦),会要求输入一些信息来描述我们当前的项目,还会要求输入依赖包 composer install 读取composer.json内容,解析依赖关系,安装依赖包到vendor目录下composer update 更新最新的依赖关系到compsoer.lock文件,解析最新的依赖关系并且写入composer.lock文件 composer search pack…