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

Fatal error after puli publish /myapp/public myserver #85

Closed
niklongstone opened this issue Jul 8, 2015 · 0 comments
Closed

Fatal error after puli publish /myapp/public myserver #85

niklongstone opened this issue Jul 8, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@niklongstone
Copy link

From a clean directory just with the Puli CLI, If I require in composer only the puli/composer-plugin and I run CLI command to publish web server resources a fatal error appears:
fatal: The type "puli/public-resource" does not exist.

The error is solved just installing the puli/url-generator package.
Below step to reproduce the issue:

puli.phar server --add myserver public_htm
puli.phar server --add myserver public_htm
puli.phar publish /myapp/public myserver

 fatal: The type "puli/public-resource" does not exist.

the solution is just run a composer.json like:

{
"minimum-stability":"beta",
    "require": {
        "puli/url-generator": "^1.0",
        "puli/composer-plugin": "^1.0@beta"
    }
}

Maybe the error doesn't reflect the real issue.

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

2 participants