草庐IT

composer-asset-plugin

全部标签

php - Composer 需求开发问题

我在工作时在Windows上安装了开发人员模式,但在安装一些我需要运行项目的程序/功能时遇到了很多问题。问题之一是当我运行composerinstall或composerinstall--no-plugins--no-scripts时,它总是给我这个错误。LoadingcomposerrepositorieswithpackageinformationInstallingdependencies(includingrequire-dev)fromlockfileYourrequirementscouldnotberesolvedtoaninstallablesetofpackages.

php - 如何在 windows 上使用 composer 运行 phpunit 测试(cmd)

这个问题在这里已经有了答案:phpunitcommanddoesn'tworkforlaravel4onwindows7(11个答案)关闭7年前。我想在我的本地Windows机器上运行phpunit测试..(使用wamp)..我已经全局安装了composer..并且phpunit安装在我的本地目录..文件夹结构.._________tests||||______PagesTest.php||________vendor||______bin||_____phpunit在我的localroot(www)上..我创建了一个phpunit.xml文件.../tests/在Cmd上我试过:C:

php - 如何使用 composer 安装 symfony?

我正在使用Windows10当我安装symfony2时:composercreate-projectsymfony/framework-standard-editionmy_project_name错误:bash:composer:commandnotfound 最佳答案 要下载symfony,您需要从这个link下载symfony.phar(一个小文件PHP).然后,您必须移动到常用的Web目录Windows上的C:\wamp\www和Linux上的/var/www;执行phpsymfony.pharnewproject_name

windows - 如何在 Windows 上更新 Composer ?

如果我运行composer然后我得到:Warning:Thisdevelopmentbuildofcomposerisover60daysold.Itisrecommendedtoupdateitbyrunning"C:\ProgramData\ComposerSetup\bin\composer.pharself-update"togetthelatestversion但是,如果我运行命令C:\ProgramData\ComposerSetup\bin\composer.pharself-update,则会出现以下窗口,提示无法打开该文件: 最佳答案

windows - Assetic 在 Windows 上生成空文件(symfony2 + less)

我最近在我的Symfony2安装中引入了Bootstrap+LessCSS。我正在使用Assetic进行Assets管理,并使用一些过滤器:cssrewrite、yui_css、yui_js我能够在我的Ubuntu机器和SUSELinux服务器上毫不费力地添加less文件管理器,但是在我的同事使用的一些Windows7机器上设置完所有内容后,我们只得到空文件作为输出。我已经遍历了this和this,但似乎没有什么可以与“less”一起使用。请注意,如果从命令行调用,lessc命令工作正常。 最佳答案 由于https://github

linux - Vagrant + Composer + Windows/nfs/git 错误

我有以下问题:当我在虚拟机中运行composerupdate时,我收到了错误消息:LoadingcomposerrepositorieswithpackageinformationUpdatingdependencies(includingrequire-dev)-Installingfriendsofsymfony/user-bundle(dev-masterf54031a)Failedtodownloadfriendsofsymfony/user-bundlefromsource:Couldnotdelete/var/www/agroit/vendor/friendsofsymfo

windows - Composer 不工作

我在为Windows安装“Composer”后遇到问题。我已经使用Windows安装程序安装了它并添加了路径。但是当我在CMD中键入:composer时,什么也没有显示,只有一条空规则。有人知道如何解决这个问题吗? 最佳答案 很可能您的PHP配置有误。运行以下命令以检查是否存在任何此类错误配置:curl-shttps://getcomposer.org/installer|php----check 关于windows-Composer不工作,我们在StackOverflow上找到一个类似

windows - Windows 上的 docker-compose - 容器命令 'sh' 未找到或不存在

让docker在windows主机上运行时遇到一些奇怪的问题,但在linux主机上它很好。它只是一个可以运行gulp的简单节点容器(并且最终将附加到其他类似LAMP的容器)。我的docker-compose.ymlversion:'2'services:node:build:./nodecontainer_name:cont_nodeports:-"35733:35733"volumes:-~/docker/project/www:/var/www/html/command:"sh-c'npminstall&&bowerinstall&&gulp'"我的DockerfileFROMno

php - Windows Composer 安装问题

我正在尝试通过来自http://getcomposer.org/download/的composer-setup.exe安装Composer我收到以下错误:ConnectionError[ERR_CONNECTION]:Unabletoconnecttogetcomposer.org请求https://getcomposer.org/installer失败并出现错误:SSL:操作成功完成。.发送25个字节失败errno=10054现有连接被远程强行关闭主持人。.发送23个字节失败,errno=10054连接被远程主机强行关闭。.发送2个字节failedwitherrno=10054现有

linux - Windows 和 Linux 上的 maven-antrun-plugin

我正在尝试让我的Maven项目在Windows7和ubuntu13.04上运行。在pom.xml文件中,我使用maven-antrun-plugin来调用scons我已经安装在我的linux和windows机器上。在这两个操作系统上,我已经验证我可以从shell/cmd运行scons,所以它在PATH上。pom看起来像这样:maven-antrun-pluginrun-sconsgenerate-resourcesrun但是当我在windows7上构建时,我得到:[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-antru