Expert Topics

Solving Composer Issues

0 Comments // Reading Time: 1 min.

Roave Security Advisories cannot be installed

If you encounter the following error when running composer update

you have an error in your composer.json file.

This error occurs when you use the lines

in this order and the package also includes a require statement for roave/security-advisories. The issue can easily be resolved by moving the line

"roave/security-advisories": "dev-master"

into the "require-dev": section instead of "require":.

Comments

No comments.