Skip to content
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
Closed
Assignees
Labels

Comments

@yosymfony
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant