Can't load json file from package.

  • Hello,

    as this question comes up from time to time: This is how to solve most cases of the "Can't load json file from package." error message.

    Don't do this:

    Do this:

    If you are still getting the error: Check the syntax of the composer.json.

    Be aware that this file can not start with a whitespace.