Manual installation -> Class not found
dmgawel opened this issue · 2 comments
dmgawel commented
Hi!
I'm currently working on a big project with a lot of legacy code and introducing Composer and Bedrock is in our backlog so I had to go with manual installation. Unfortunately it's not working. It seems that dist
dir does not contain needed composer packages:
Warning: include(/var/www/public/wp-content/plugins/models/dist/composer/../hassankhan/config/src/Config.php): failed to open stream: No such file or directory in /var/www/public/wp-content/plugins/models/dist/composer/ClassLoader.php on line 440
Warning: include(): Failed opening '/var/www/public/wp-content/plugins/models/dist/composer/../hassankhan/config/src/Config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/public/wp-content/plugins/models/dist/composer/ClassLoader.php on line 440
Fatal error: Class 'Noodlehaus\Config' not found in /var/www/public/wp-content/plugins/models/src/Loader.php on line 47
darrenjacoby commented
Hi @dmgawel please try re-download the master/archive.zip. I've updated the build process and tested, should be working now.
dmgawel commented
Works like a charm, thanks!
I think it would be a good idea to upload compressed zip file to github as a release artifact. This way you won't have to store external dependencies in models
repository. Anyway, this issue is solved.