dongxin5429 2016-10-30 16:09
浏览 310
已采纳

Composer最小稳定性问题

I am trying to make an extension for Flarum forum. On composer.json, I added the following lines.

"minimum-stability": "beta",
"prefer-stable": true

When I run composer require evaldasl/flarum-ext-lithuanian I get the following error.

Could not find package evaldasl/flarum-ext-lithuanan at any version for your minimum-stability (beta). Check the package spelling or your minimum-stability

How do I avoid that error?

  • 写回答

1条回答 默认 最新

  • douci6541 2016-10-30 23:16
    关注

    After searching packagist.org, I can see that it's not registered yet. Even though you have signed up and submitted your other Github project, it doesn't automatically list all your projects. You must submit each one.

    Also note that there's already a project registered by this same name, so it might be considered a fork.

    Do not submit forks of existing packages. If you need to test changes to a package that you forked to patch, use VCS Repositories instead. If however it is a real long-term fork you intend on maintaining feel free to submit it.

    Once you submit, then your composer require command will work.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?
  • ¥15 乘性高斯噪声在深度学习网络中的应用