2016-10-05 36 views
0

我想开始制作我自己的PHPBB mods,但是我在设置作曲者时遇到了麻烦。作曲者安装到phpBB时出错

我已经安装了作曲家对我的Windows Server和我跑这在我的命令行

作曲家要求:

C:\Inetpub\vhosts\Servers\5\localuser\gorrors\httpdocs\community 

,我得到这个错误:

"`UnexpectedValueExpection`" cannot parse version.

在谷歌上搜索这个错误消息其他人似乎通过运行selfupdate修复错误,但是当我这样做时它说我有最新版本?

我在做什么错?任何帮助将是伟大的

+0

你想用该文件夹做什么? – BVengerov

+0

我得到这个错误PHP致命错误:作曲家的依赖关系还没有建立起来,从phpBB目录运行“php ../composer.phar安装”,当尝试进行自定义登录,所以我试图安装作曲家文件到目录? –

回答

0

似乎你在这里使用require command错误。它用于将指定的包添加到composer.json文件中作为您的项目所依赖的文件。

至于预期的包名......从manual

The package name consists of a vendor name and the project's name. Often these will be identical - the vendor name just exists to prevent naming clashes. It allows two different people to create a library named json, which would then just be named igorw/json and seldaek/json.

指定的依赖后,你可以执行composer install,这将为从set up repositories包搜索。请注意:

By default only the Packagist repository is registered in Composer. You can add more repositories to your project by declaring them in composer.json.

+0

我得到[05-Oct-2016 17:59:03 UTC] PHP致命错误:尚未设置Composer依赖关系,请从phpBB目录运行'php ../composer.phar install'来执行此操作。在C:\ Inetpub \ vhosts \ s19536047.onlinehome-server.info \ httpdocs \ community \ includes \ startup.php行170错误....我已经安装了作曲家到服务器。我需要安装composer到PHPBB目录吗? –