Roots Discourse

Error on installing Sage with composer on Mac


I’m trying to install Sage locally on my Mac.
Did: composer create-project roots/sage mythemename dev-master

It starts running but then throws an error and it looks like the full ‘vendor’ folder is missing.
Tried googling the error but could not find anything. Anyone any idea how I can fix this?

PHP 7.3, latest version of node.js and yarn.

This is the output:

Installing roots/sage (dev-master f3e794a09374d2f110742d15b9b975490fcddbee)

  • Installing roots/sage (dev-master master)
    Cloning master from cache

Created project in tech2protect
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file

“continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?

create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–no-install] [–ignore-platform-reqs] [–] [] [] []



OK, my google skills were not so good last night. This is an issue with PHP 7.3. I downgraded to PHP 7.2 and all works well now.

Hope this post at least helps someone else running into the error.



Hey, I am having the same issue, so this post helps me!

I am also using PHP 7.3

I will try and raise an issue so that the developers know about this



The version of Composer you have installed isn’t updated for use on PHP 7.3.
You need to update Composer on your system.

1 Like

closed #5

This topic was automatically closed after 42 days. New replies are no longer allowed.