New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading plugin's dependencies with -s option at site:build command #79

Closed
yosymfony opened this Issue Apr 11, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@yosymfony
Copy link
Member

yosymfony commented Apr 11, 2016

If you are invoking site:build command using the source code of Spress instead of phar file, you'll get an error if your site is using plugins with dependencies declared into the composer.json file.

An example of eror from a plugin that depends of a class called Github\Client:

PHP Fatal error:  Class 'Github\Client' not found in /vagrant/dev/spress/Spress.yosymfony.com/src/plugins/spress/github-metadata-plugin/SpressGithubMetadataPlugin.php on line 41

@yosymfony yosymfony self-assigned this Apr 11, 2016

@yosymfony yosymfony added the Bug label Apr 11, 2016

@yosymfony yosymfony changed the title Error loading plugin dependencies with -s option at site:build command Error loading plugin's dependencies with -s option at site:build command Apr 11, 2016

yosymfony added a commit that referenced this issue Apr 11, 2016

yosymfony added a commit that referenced this issue Apr 11, 2016

@yosymfony yosymfony closed this Apr 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment