前提・実現したいこと
MAC OS Mojave
Homebrewがインストールされている状態で、Nodebrewをインストールし、Node.jsするのが目的で、nodebrewをインストール中にエラーが発生
発生している問題・エラーメッセージ
-bash: eval: line 1: syntax error near unexpected token `(' -bash: eval: line 1: `“export PATH="/Users/username/.rbenv/shims:${PATH}" export RBENV_SHELL=bash source '/usr/local/Cellar/rbenv/1.1.1/libexec/../completions/rbenv.bash' command rbenv rehash 2>/dev/null rbenv() { local command command="$1" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(rbenv "sh-$command" "$@")";; *) command rbenv "$command" "$@";; esac }”'
該当のソースコード
なし
試したこと
- brew install nodebrew実施
- nodebrew -v でバージョン確認
- nodebrew ls-remoteで何も表示されない
- nodebrew setupを実施
- echo "export PATH=$HOME/.nodebrew/current/bin:$PATH" >> ~/.bash_profileを実施
- source ~/.bash_profileを実施したら、ターミナルにエラーが発生
補足情報(FW/ツールのバージョンなど)
プログラミング素人で、どうしたら良いか全くわかりません。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。