10up / twentysixteenreact

Twenty Sixteen theme as an isomorphic React.js application using NodeifyWP.
93 stars 20 forks source link

NodeifyWP missing files after composer install #3

Closed danielck closed 7 years ago

danielck commented 8 years ago

When attempting to load the twentysixteenreact theme, if failed with this error

Warning: require_once(/var/www/html/wp-content/themes/twentysixteenreact/vendor/10up/nodeifywp/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/twentysixteenreact/vendor/10up/nodeifywp/App.php on line 144

Fatal error: require_once(): Failed opening required '/var/www/html/wp-content/themes/twentysixteenreact/vendor/10up/nodeifywp/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp-content/themes/twentysixteenreact/vendor/10up/nodeifywp/App.php on line 144

Line 144 of App.php does this: require_once __DIR__ . '/vendor/autoload.php';

The whole vendor directory was missing, which could be fixed by running composer install within the vendor/10up/nodeifywp directory itself, but surely running composer separately for each dependency should not be required?

tlovett1 commented 8 years ago

This one should be fixed. Can you confirm?