Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Composer is installed, but cannot require any package

    LAMP
    lamp
    2
    2
    185
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jepster last edited by girish

      Hi,

      I have seen that the Composer PHP package manager is installed via the LAMP stack. However, I cannot use it. Tried to install a package globally:

      root@5585a070-9420-4f84-bd98-5198b471ffb4:/# composer global require drush/drush
      
      In GlobalCommand.php line 77:
      
        chdir(): No such file or directory (errno 2)
      
      
      global <command-name> [<args>]...
      
      root@5585a070-9420-4f84-bd98-5198b471ffb4:/#
      

      What am I doing wrong here?

      Kind regards
      Peter

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        Let's discuss this in https://forum.cloudron.io/topic/1700/lamp-stack-composer-cannot-require-any-package-cannot-write-into-cache

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB