我是新來的作曲家,我試圖通過作曲家更新,因爲我明白我的作曲家安裝此以下的lib如何使用作曲家沒有版本(僅主機)
https://github.com/neitanod/forceutf8
所以安裝包以.json看起來像這樣
{
"config": {
"vendor-dir": "libs/vendor"
},
"require": {
"raven/raven": "0.7.1",
"monolog/monolog": "1.7.*",
"smarty/smarty": "3.1.16",
"forceutf8/forceutf8": "master"
}
}
的Bt出於某種原因(因爲我認爲forceutf8沒有版本)與錯誤暫停,正確安裝所有的休息,錯誤我得到的是
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package forceutf8/forceutf8 could not be found in any version, there may be a typo in the package na
me.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
我嘗試以下的版本還,但沒有運氣還是
{
"config": {
"vendor-dir": "libs/vendor"
},
"name": "career/skillquest",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/neitanod/forceutf8"
}
],
"require":
{
"forceutf8/forceutf8": "dev-master",
"raven/raven": "0.7.1",
"monolog/monolog": "1.7.*",
"smarty/smarty": "3.1.16"
}
}
問題是它需要
"neitanod/forceutf8": "dev-master"
不
"forceutf8/forceutf8": "dev-master"
你能請與其它包添加完整JSON文件,我試圖加入這個,但未能獲得所需要的文件格式 – mahen3d
改變答案。 –
forceutf8軟件在哪裏? – Sven