0
私は様々な回答を見てきましたが、私の特定の問題の解決方法を判断できないようです。私はMacBook Air(10.7.5)にnode.jsをインストールしました。私はバワーを設置しました。すべて成功した。ブートストラップをインストールしようとすると、次のエラーが表示されます。Mac OSでbower install -g(gitをインストール済み)でブートストラップをインストールする際に問題が発生する
$ bower install -g bootstrap
bower not-cached git://github.com/twbs/bootstrap.git#*
bower resolve git://github.com/twbs/bootstrap.git#*
bower ENORESTARGET Tag/branch master does not exist
Additional error details:
No tags found in git://github.com/twbs/bootstrap.git
No branches found in git://github.com/twbs/bootstrap.git
# The following command works:
$ which git
/usr/local/bin/git
# I tried this (some suggestion from another post):
$ git clone https://github.com/git/git
Illegal instruction: 4
何か助けてください。ありがとう
私はプロジェクトのディレクトリにbowerをインストールし、bower initを実行しました。すべてうまくいった。それから私はバウアーでブートストラップをインストールしようとしました。だから私はgitをインストールし、再試行し、上記のエラーを持っています。その後、別の投稿を見て、私はbowerをアンインストールしました(gitの前にインストールされていたので)。その後、私はバワーを再インストールし、初期化を行った。その後、再びブートストラップのインストールを試みましたが、同じメッセージが表示されます。 –
これは試しましたか? http://stackoverflow.com/q/24234063/3185307( '.git /'、 '.gitignore'と' .gitattributes'の内容を削除します –