R
R
rinatoptimus2017-03-05 09:26:42
Yii
rinatoptimus, 2017-03-05 09:26:42

Why is Composer not finding the init command?

I downloaded the project https://github.com/samdark/yii2-shop
An error was generated during installation, I tried using composer update instead of composer install. It was installed, but after entering init, it writes init: command not found. OSX (if it matters)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ne-Lexa, 2017-03-05
@NeLexa

If there are no rights to launch, then run it once.
Then run it like this:
If you want to run just by init, then you need to add the current folder to PATH, but I do not recommend doing this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question