4
我正在嘗試爲osx lion上的以下項目connect安裝供應商。ErrorException JMS SerializerBundle JMSSerializerBundle
cd /tmp
git clone git://github.com/dsyph3r/connect
cd connect
git submodule update --init
php bin/vendors install
當我運行下面的命令php bin/vendors install
我得到以下信息:
[ErrorException]
Catchable Fatal Error:
Argument 1 passed to JMS\SerializerBundle\JMSSerializerBundle::__construct()
must implement interface Symfony\Component\HttpKernel\KernelInterface,
none given, called in /Users/antoniopierro/Sites/connect/app/AppKernel.php on line 21
and defined in /Users/antoniopierro/Sites/connect/vendor/bundles/JMS/SerializerBundle/JMSSerializerBundle.php line 37
我錯過了什麼?
見我拉請求:https://github.com/dsyph3r/connect/pull/4 +1 – greg0ire 2012-04-28 09:36:34
這個項目是7個月大,爲什麼它不起作用:JMSSerializerBundle的代碼已更改 – greg0ire 2012-04-28 09:44:09
@ greg0ire @elnur,感謝您的答案。現在它可以工作,但是我又遇到了另一個與'app/config/parameters.ini'有關的問題,請看下面的問題:[致命錯誤:Class'FOS \ Rest \ Util \ Codes'not found](http:// stackoverflow。 COM /問題/ 10370883 /致命錯誤級-fos的休息-UTIL碼未找到) – underscore666 2012-04-29 08:50:21