Roots Discourse

Sage Install - Retrying with degraded mode

I am doing a fresh install of sage.

Run composer create-project roots/sage theme-name 8.5.1

I get the following:

The "https://packagist.org/packages.json" file could not be downloaded: failed to open stream: Operation timed out
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
The "https://packagist.org/packages.json" file could not be downloaded: failed to open stream: Operation timed out
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

I did search for this error and have not found anything. Are there other people out there having the same issue.

This is also happening when I run composer update or composer install for plugins.

Sounds like an issue with your internet connection, as per the linked doc (https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode):

If you see this issue sporadically you probably don’t have to worry (a slow or overloaded network can also cause those time outs), but if it appears repeatedly you might want to look at the options below to identify and resolve it.

I had this happen to me one time when I was behind a VPN. You may want to try on a different connection and see if the same issue occurs.

That did it for me also except I was NOT on a vpn, got the error. Then connected to a VPN and was able to complete composer update.