目次
< 記事一覧

【Laravel】composerインストール時のエラー1

git config --local core.hooksPath .githooks fatal: --local can only be used inside a git repository Script git config --local core.hooksPath .githooks handling the post-install-cmd event returned with error code 128

→Git リポジトリじゃないのに、post-install-cmd で git config –local … を実行しているため

 

対策:スクリプトを無効化して進める

composer install --no-scripts

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です