doufu6130 2016-03-29 08:53
浏览 336

Laravel Composer安装一直处于失败状态

I'm trying to install Laravel 5.2 using Composer on Windows but it keeps on failing.

C:\wamp\www>composer create-project --prefer-dist laravel/laravel vas
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Installing laravel/laravel (v5.2.24)
  - Installing laravel/laravel (v5.2.24)
    Downloading: 100%

Created project in vas
> php -r "copy('.env.example', '.env');"
Script php -r "copy('.env.example', '.env');" handling the post-root-package-install event returned with an error


  [RuntimeException]
  Error Output:


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
  • 写回答

1条回答 默认 最新

  • dt3674 2016-03-29 19:28
    关注

    It looks like it's failing on php -r - try running this command manually and see if you get the same error? if you do, it's something to do with your PHP CLI.

    评论

报告相同问题?

悬赏问题

  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 关于无人驾驶的航向角
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥30 BC260Y用MQTT向阿里云发布主题消息一直错误
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了