Flagrow image uploader for Flarum forum messages
yesterday I started to get this two messages every time, when I try to install, update or do anything else through composer:
1. "
The "https://packagist.org/packages.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
"
- " [Composer\Downloader\TransportException]
The "https://packagist.org/p/illuminate/database%242a57962e7835fa6917a8efd4
3b97c03c25f0584a9b8455194a7cf74a10e50562.json" file could not be downloaded
(HTTP/1.1 404 Not Found)
"
What is this and can this be the reason that the extention was not installing right?
- Edited
Am unable to install this extension.
root@forum:~# composer require flagrow/flarum-ext-image-upload
Using version ^0.1.5 for flagrow/flarum-ext-image-upload
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for flagrow/flarum-ext-image-upload ^0.1.5 -> satisfiable by flagrow/flarum-ext-image-upload[0.1.5].
- flagrow/flarum-ext-image-upload 0.1.5 requires flarum/core ^0.1.0-beta.4 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, deleting ./composer.json.
root@forum:~#
Am running Flarum beta 4. Any ideas?
ron_jeremy In what folder are you running the command? It should be at flarum's root folder.
- Edited
ron_jeremy Try adding the following to your composer.json
"minimum-stability": "beta"
It says the problem is the minimum stability to beta.
I hope it solves your problem
EDIT: It also says there isn't a composer.json, are you in the root folder of the forum?
ron_jeremy In what folder are you running the command? It should be at flarum's root folder.
- @santiagobiali
I was not in the Flarum root folder. Thank you santiagobiali and datitisev