dongqian3198 2013-09-17 22:20
浏览 40
已采纳

使用composer克隆Sylius

I am using Symfony 2.3.4

On my console i did composer create-project sylius/sylius --prefer-dist Everything downloaded smoothly until it came to installing sensio/distribution-bundle

Composer throw out this error message

[Composer\Downloader\TransportException]
The "https://api.github.com/repos/sensio/SensioDistributionBundle/zipball/4
a2c803dc8db79952ad5e71783c16178427bbc02" file could not be downloaded (HTTP
/1.1 404 Not Found)



create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repos
itory-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--n
o-scripts] [--no-progress] [--keep-vcs] [package] [directory] [version]

I tried :

  1. Editing sylius/composer.json and modify "sensio/distribution-bundle": "2.3." to "sensio/distribution-bundle": "2.2.-dev"

  2. Open a shell in C:\wamp\www\sylius. Rename app/config/parameters.yml.dist to parameters.yml, run php composer.phar update --prefer-dist, still having lots of errors about MongoDb

Is there any other way to install sylius? How can i fix this?

Thanks heaps

  • 写回答

2条回答 默认 最新

  • doutang3815 2013-09-18 11:24
    关注

    They fixed the issue! The problem was indeed with the Sylius build. Today i created a freshly installed Symfony2 onto my server, and did composer composer create-project sylius/sylius --prefer-dist

    Sensio/SensioDistributionBundle installed correctly.

    Steps to installed Sylius 1. composer create-project sylius/sylius --prefer-dist (this method download compressed file when available) or composer create-project -s dev sylius/sylius

    1. make sure to enable php_info extension
    2. create a database in php myadmin
    3. cd sylius and then php app/console sylius:install
    4. The last part of the installation will asked you for some parameters, the default option given works fine. Accustomed it to your config

    I spend 48 hours trying to install sylius finally things got better now. There is many issues with Sylius at the moment. Check Out And is really slow. I am still finding a way to speed things up. I took like 3 minutes to load when i clicked on Register.

    If you got issued like MongDB not found, or any bundle not found, then surely there is a problem with the way you are trying to install Sylius. And Please at the moment do not cd sylius and composer update, it won't worked. I got told that they rearranged the bundle. You can find more detailed Click here! Please feel free to edit this post if you feel that there is something that i haven't talked about for sylius installation. Thanks to Sylius Contributors!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题