강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

tothirty0689 のプロフィール画像
tothirty0689

投稿した質問数

Vue.js 完全マスター - 実務に必要なすべて

API サーバープロジェクトの構成

nvm 설치가 안되요..ㅠㅜ

作成

·

1K

3

nvm is already installed in /c/Users/chang/.nvm, trying to update using git

=> error: invalid path 'test/fast/Aliases/"nvm alias" should not accept aliases with slashes'

=> Compressing and cleaning up git repository

=> nvm source string already in /c/Users/chang/.bashrc

=> bash_completion source string already in /c/Users/chang/.bashrc

main: line 397: /c/Users/chang/.nvm/nvm.sh: No such file or directory

=> You currently have modules installed globally with `npm`. These will no

=> longer be linked to the active version of Node when you install a new node

=> with `nvm`; and they may (depending on how you construct your `$PATH`)

=> override the binaries of modules installed with `nvm`:

C:\Users\chang\AppData\Roaming\npm

javascriptvuejsvuex

回答 9

1

저도 마찬가지 오류가 나면서 진도가 안나가네요ㅠㅠ

1

.bashrc에 export를 적은 뒤 터미널에서 source ~/.bashrc 를 하시면 될 것 같아요

1

tothirty0689님의 프로필 이미지
tothirty0689
質問者

그냥 윈도 설치버전 .exe 으로 했습니다...

1

tothirty0689님의 프로필 이미지
tothirty0689
質問者

예..다시 한번 했는데도 여전히 안되네요.. nvm 명령어가 안먹어요...

1

tothirty0689님의 프로필 이미지
tothirty0689
質問者

예 nvm -v 가 안되네요... 상관 없는 건가요?

1

captain님의 프로필 이미지
captain
インストラクター

안녕하세요 달마다서쪽님, 위 로그 "nvm is already installed in /c/Users/chang/.nvm" 를 보면 nvm이 설치되어 있는 것으로 나오는데 nvm 명령어가 안먹어서 설치가 안되는 것으로 생각하신 건가요? :)

0

안녕하세요.

NVM설치시 아래 명령어를 입력했을때 아래와 같이 뜹니다.

어떻게 해결해야할까요?

$ vi ~/.bash_profile

 

E325: ATTENTION

Found a swap file by the name "~/.bash_profile.swp"

          owned by: minsukim   dated: Tue Dec 28 12:17:39 2021

         file name: ~minsukim/.bash_profile

          modified: YES

         user name: minsukim   host name: MINs-MacBook-Pro-4.local

        process ID: 82785

While opening file "/Users/minsukim/.bash_profile"

      CANNOT BE FOUND

(1) Another program may be editing the same file.  If this is the case,

    be careful not to end up with two different instances of the same

    file when making changes.  Quit, or continue with caution.

(2) An edit session for this file crashed.

    If this is the case, use ":recover" or "vim -r /Users/minsukim/.bash_profile

"

    to recover the changes (see ":help recovery").

    If you did this already, delete the swap file "/Users/minsukim/.bash_profile

.swp"

    to avoid this message.

 

Swap file "~/.bash_profile.swp" already exists!

[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: 

0

저도 이부분에서 막혀있습니다..윈도우 입니다..ㅠ

0

captain님의 프로필 이미지
captain
インストラクター

아 .bashrc 파일에 아래 내용이 잘 저장되었는지 한번 확인해보시겠어요?

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
tothirty0689 のプロフィール画像
tothirty0689

投稿した質問数

質問する