LoginSignup
0
0

More than 3 years have passed since last update.

CLIをインストールできてるのに、command not found: quasar とかになる場合。

Last updated at Posted at 2020-11-25
sudo npm install -g @quasar/cli

でモジュールをインストールして

+ @quasar/cli@1.1.2
added 376 packages from 294 contributors in 9.001s

ッて感じでインストールできたのに、いざコマンドしてみると
「ありません」みたいになるやつ

 quasar create quasar-weather
zsh: command not found: quasar

こんなかんじでハマる。

こういうのは単純に反映がされてないだけなので、

% source ~/.bash_profile

これで反映させてから、
もう一回コマンドを実行させるとうまくいきますた

Mac desktop % source ~/.bash_profile
Mac desktop % quasar create quasar-weather

  ___                             
 / _ \ _   _  __ _ ___  __ _ _ __ 
| | | | | | |/ _` / __|/ _` | '__|
| |_| | |_| | (_| \__ \ (_| | |   
 \__\_\\__,_|\__,_|___/\__,_|_|

しょっちゅう忘れるのでメモ
あと、VSコードターミナルでも同様なのでメモ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0