Df: env results in error on install not sure why


#1

root@s135607:/opt/dreamfactory# php artisan df:env
PHP Warning: require(/opt/dreamfactory/vendor/autoload.php): failed to open stream: No such file or directory in /opt/dreamfactory/artisan on line 18
PHP Fatal error: require(): Failed opening required ‘/opt/dreamfactory/vendor/autoload.php’ (include_path=’.:/usr/share/php’) in /opt/dreamfactory/artisan on line 18


#2

Hi @tomtruitt,

Can you please let me know where you were running php artisan df:env from? Specifically what directory?

Best,
Kevin McGahey


#3

Hi yes from within /opt/dream factory after having cloned the git


#4

@tomtruitt,

Currently trying to recreate the issue. What OS are you running this on and what version of PHP are you on?

Also, did anything error out in composer install ?


#5

Running on 14.04 lts
Php 7.1
It just gave errors about mongo. Do I need mongo for dreamfactory? Sorry I thought just ignore because my db is using mariadb


#6

@tomtruitt,

Apologies, when running composer install if you do not plan on using mongo or oracle you can run composer install --ignore-platform-reqs to hopefully fix the issue.


#7

Thank you! I see now it didn’t even install dreamfactory before ha I didn’t realize