php - Why cant I run bin/behat? -


i trying run behat on vendor folder. have installed composer globally, have installed behat package, every time run bin/behat keep getting message composer

you must set project dependencies, run following commands: curl -s http://getcomposer.org/installer | php php composer.phar install 

i not sure how fix this. see files in vendor folder, , when type "composer" on terminal, see manual.

if can me resolve appreciate it. thanks!

there several possible problems leading situation:

  1. make sure composer installed in $path. is, running composer @ command prompt should work, , shouldn't need run explicit path ~/downloads/composer.phar
  2. execute composer install instruction error message suggests. common error message

    mcrypt php extension required

    in case need install specified extension. example, brew install php56-mcrypt on mac or sudo apt-get install php5-mcrypt on ubuntu.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -