0

私が働いている会社は、LAMP セットアップで「Vagrant」を採用することを決定しました。チーム間でコードベースに触れるのは私が初めてなので、「Vagrantfile」をセットアップすることにしました。私のチームは Mac Book Pro の OSX で作業しており、Vagrant は夢でしたが、開発ワークフローをさらに進めると、そのチームは Windows を使用しており、多くの困難を経験しています。私もWindowsを使用していて、エラーを再現できる家に帰りました。

ここから始まります:

: command not foundnt/puphpet/shell/os-detect.sh: line 2:

URL へのエラーを含む文字列に「コマンドが見つかりません」という用語が挿入されていることに注意してください。

私は一連の問題を抱えています:

: command not foundnt/puphpet/shell/os-detect.sh: line 9:
'=> default: grep: invalid option -- '
==> default: Usage: grep [OPTION]... PATTERN [FILE]...
==> default: Try grep --help' for more information. ==> default: /vagrant/puphpet/shell/os-detect.sh: line 15: syntax error near unexpected tokenelif'
'=> default: /vagrant/puphpet/shell/os-detect.sh: line 15: elif [ -f '/etc/redhat-release' ]; then : command not foundnt/puphpet/shell/os-detect.sh: line 2: : command not foundnt/puphpet/shell/os-detect.sh: line 9: '=> default: grep: invalid option -- ' ==> default: Usage: grep [OPTION]... PATTERN [FILE]... ==> default: Trygrep --help' for more information.
==> default: /vagrant/puphpet/shell/os-detect.sh: line 15: syntax error near unexpected token elif' '=> default: /vagrant/puphpet/shell/os-detect.sh: line 15:elif [ -f '/etc/redhat-release' ]; then
: command not foundnt/puphpet/shell/os-detect.sh: line 2:
: command not foundnt/puphpet/shell/os-detect.sh: line 9:
'=> default: grep: invalid option -- '
==> default: Usage: grep [OPTION]... PATTERN [FILE]...
==> default: Try grep --help' for more information. ==> default: /vagrant/puphpet/shell/os-detect.sh: line 15: syntax error near unexpected tokenelif'
'=> default: /vagrant/puphpet/shell/os-detect.sh: line 15: `elif [ -f '/etc/redhat-release' ]; then

これは OSX と Windows の間の文字の問題であると確信していますが、問題を検出できません。

4

1 に答える 1