Version
centOS 7.6
php 7.0
mysql 14.14
composer 1.9.3
Apatch 2.4.6
実行コマンド
[Apple-no-Macbook-pro:~apple$ cd centOS7 [Apple-no-Macbook-pro:~apple$ vagrant ssh [vagrant@localhost ~]$ cd /var/www/html [vagrant@localhost ~]$php composer create-project --prefer-dist cakephp/app:^3.8 my_app
##エラー内容
```
[UnexpectedValueException]
Your github oauth token for github.com contains invalid characters: "[Perso
nal settings] → [Personal access tokens] → [Generate new token][Persona
l settings] → [Personal access tokens] → [Generate new token][Personal
settings] → [Personal access tokens] → [Generate new token][Personal se
ttings] → [Personal access tokens] → [Generate new token][Personal sett
ings] → [Personal access tokens] → [Generate new token][Personal settin
gs] → [Personal access tokens] → [Generate new token][Personal settings
] → [Personal access tokens] → [Generate new token][Personal settings]
→ [Personal access tokens] → [Generate new token][Personal settings]
→ [Personal access tokens] → [Generate new token][Personal settings] →
[Personal access tokens] → [Generate new token]"
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
mv composer.phar /usr/local/bin/composerは実行済みでcomposerにパスは通しています。 エラー内容は直訳するとgithub.comのgithub oauthトークンに無効な文字が含まれていますとのことですが、覚えがありません。 初心者ですので情報が足りないかもしれませんがよろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/02/26 12:58
2020/02/29 10:23
2020/03/02 01:23