LoginSignup
4
0

More than 1 year has passed since last update.

【エラー解決】@vue/cli導入で「vue: command not found」と表示された場合の対処方法

Last updated at Posted at 2021-06-06

参考にした記事

 vue/cli導入

$ npm install -g @vue/cli
$ npm bin -g
/Users/#{myname}/.npm-global/bin
(not in PATH env variable)
$ vue create my-project
-bash: vue: command not found

 エラー解決方法

パスを通す

export PATH=$PATH:`npm bin -g`
$ vue -V
@vue/cli 4.5.13

参考記事

4
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
4
0