gtalarico / django-vue-template

Django Rest + Vue JS Template
https://django-vue-template-demo.herokuapp.com/
MIT License
1.58k stars 406 forks source link

No such file or directory: 'install' #68

Open bdbais opened 4 years ago

bdbais commented 4 years ago

-linux:~/vue/django-vue-template$ yarn install 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

bdbais commented 4 years ago

linux:~/vue/django-vue-template$ ls -la total 316 drwxrwxr-x 6 rei rei 4096 Sep 10 09:53 . drwxrwxr-x 3 rei rei 4096 Sep 10 09:53 .. -rw-rw-r-- 1 rei rei 612 Sep 10 09:53 app.json drwxrwxr-x 4 rei rei 4096 Sep 10 09:53 backend drwxrwxr-x 8 rei rei 4096 Sep 10 09:53 .git -rw-rw-r-- 1 rei rei 243 Sep 10 09:53 .gitignore -rw-rw-r-- 1 rei rei 1069 Sep 10 09:53 LICENSE -rwxrwxr-x 1 rei rei 543 Sep 10 09:53 manage.py -rw-rw-r-- 1 rei rei 988 Sep 10 09:53 package.json -rw-rw-r-- 1 rei rei 257 Sep 10 09:53 Pipfile -rw-rw-r-- 1 rei rei 5204 Sep 10 09:53 Pipfile.lock -rw-rw-r-- 1 rei rei 74 Sep 10 09:53 Procfile drwxrwxr-x 3 rei rei 4096 Sep 10 09:53 public -rw-rw-r-- 1 rei rei 6372 Sep 10 09:53 README.md drwxrwxr-x 6 rei rei 4096 Sep 10 09:53 src -rw-rw-r-- 1 rei rei 598 Sep 10 09:53 vue.config.js -rw-rw-r-- 1 rei rei 246149 Sep 10 09:53 yarn.lock

ahronmoshe commented 2 years ago

I have also this problem

robertmah1120 commented 2 years ago

It is because yarn is not added on the path. You must reopen your terminal or vscode.

csphoniex commented 7 months ago

sudo apt remove cmdtest sudo apt remove yarn curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update sudo apt-get install yarn -y

Raylove2 commented 4 months ago

It is because yarn is not added on the path. You must reopen your terminal or vscode.

It works, thx