"Bash: npm: command not found"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(같은 사용자의 중간 판 8개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
{{소문자}}
;<nowiki>bash: npm: command not found</nowiki>
;<nowiki>-bash: npm: command not found</nowiki>
;<nowiki>-bash: npm: command not found</nowiki>


==사례1: node.js 설치된 경우==
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
root@localhost:~# npm
root@localhost:~# npm
10번째 줄: 13번째 줄:
v10.21.0
v10.21.0
</syntaxhighlight>
</syntaxhighlight>
==사례2: node.js 설치 안된 경우==
<syntaxhighlight lang='console'>
root@tester:~/go/src/github.com/jmnote/hello/web# npm install
bash: npm: command not found
</syntaxhighlight>
<syntaxhighlight lang='console'>
root@tester:~/go/src/github.com/jmnote/hello/web# node -V
bash: node: command not found
</syntaxhighlight>
* → [[우분투 node.js 설치]]


==같이 보기==
==같이 보기==
* [[같이보기]]
* [[npm install]]
* [[bash: node: command not found]]


[[분류: npm]]
[[분류: npm]]
[[분류: command not found]]
[[분류: command not found]]

2021년 12월 27일 (월) 11:49 기준 최신판

1 개요[ | ]

bash: npm: command not found
-bash: npm: command not found

2 사례1: node.js 설치된 경우[ | ]

Console
Copy
root@localhost:~# npm
-bash: npm: command not found
Console
Copy
root@localhost:~# node -v
v10.21.0

3 사례2: node.js 설치 안된 경우[ | ]

Console
Copy
root@tester:~/go/src/github.com/jmnote/hello/web# npm install
bash: npm: command not found
Console
Copy
root@tester:~/go/src/github.com/jmnote/hello/web# node -V
bash: node: command not found

4 같이 보기[ | ]