Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/packages.json not found (404) #261

Open
michalmicpaw opened this issue Jun 21, 2024 · 2 comments
Open

/packages.json not found (404) #261

michalmicpaw opened this issue Jun 21, 2024 · 2 comments

Comments

@michalmicpaw
Copy link

Hi.

I'm trying to install, with composer, repo, added into packagist on my local server. I get such error:

php8.3 ~/composer_2_7_6 create-project author/name --repository-url "http://localhost:8000/"
In CurlDownloader.php line 640:
                                                                                                   
  The "http://localhost:8000/packages.json" file could not be downloaded (HTTP/1.1 404 Not Found)

What could cause such problem?
Thanks

@vtsykun
Copy link
Owner

vtsykun commented Jun 21, 2024

Hi @michalmicpaw

Probably the settings issue. Could you try the open http://localhost:8000/ http://localhost:8000/packages.json with browser

@michalmicpaw
Copy link
Author

server is running on route localhost:8000 but there is 404 on localhost:8000/packages.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants