-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
500 Internal Server Error #25
Comments
So I thought this might be related to the other reports of the pkg being too big so I cloned the repo and tried to run it locally. And, turns out, it just works when running locally 🙃 I don't know if you have any logs on the server that would give you more information as to why it was failing but I don't think I'm able to debug this from my side any more 🤔 |
I'm also getting a 500 error, for example with: https://gitpkg.now.sh/royduin/reactivesearch/packages/vue?patch-4&scripts.postinstall=yarn%20install%20--ignore-scripts%20%26%26%20yarn%20run%20build-es&scripts.build-es=nps%20build.es any thoughts? |
@royduin Hi! It seems that there are some bugs with the simple format url. Really sorry for leaving this issue unresolved for so long. I've been working on my dissertation for a long time. Once it is fininshed, I will be back for my open source projects. ♥ |
Awesome! Thank you 💯 |
I confirm this doesn't work for me too. I tried with both simple and advanced format URLs. I am trying to install this |
@ziogaschr Hi, I just tried the url and it worked. Could you please provide more information about the error, like the detailed response body or a screenshot? |
@EqualMa thanks for the fast reply, it works when running |
@ziogaschr Can you |
It fails during the build. So I have tried to add it as a step in my Dockerfile and the outputs are:
|
@ziogaschr You can replace all |
This seems to have worked. Thanks a lot @EqualMa |
I'm also getting 504 GATEWAY TIMEOUT error when installing May it be to the repo size? |
@aolchik Yes, large repo might lead to long processing time. You can try to create a branch which removes unused large files in a new commit. |
Hello, thanks for this amazing tool! I am facing an HTTP 500 error and stumbled on this issue. Is it still an issue or am I not using the API correctly?
I've tried calling the gitpkg API in different formats, both with npm and yarn: |
This isn't an option when you don't own a repo. It would require you to fork a repo, and at that point, you might as well bypass using GitPkg in the first place. |
@FFdhorkin could you elaborate? I can think of two ways to bypass gitpkg in an own fork: one is to publish a forked NPM package, the other is to rewrite the repo so the subfolder you need at the root. Both seem kind of tedious compared to gitpkg... |
@estyrke I was working on a Mattermost plugin. They're consolidating several packages into a very large monorepo. There's package.jsons inside folders, but no way to just install the individual dependency I needed. The packages aren't published to NPM, either. Attempting to use gitpkg gave me 500s. So I ended up having to clone the entire repository. That was my whole point: making a fork to install a dependency is tedious. That's why your comment about "just make a branch" isn't a viable way to use gitpkg on large repos. You can't make a branch in a repo you don't own without making a fork. The whole reason I wanted to use gitpkg was to avoid that, but if gitpkg can't support large repos, what's the point of only using a subfolder as a dependency rather than the whole repository? |
@FFdhorkin Yes, I agree totally! (it was someone else who made the comment about "just make a branch") You said "It would require you to fork a repo, and at that point, you might as well bypass using GitPkg in the first place.", but even with an own fork, I can't think of a good way to bypass GitPkg. I can think of a few not so good ways and was just wondering if you knew of any better methods (given that I already have a fork). I ended up publishing a forked package to npm, but it feels less than ideal. :) |
I faced the same issue of @EqualMa thanks for creating |
Hi! This url is crashing with a 500 as well: https://gitpkg.vercel.app/api/pkg?url=huggingface/hub-docs/tasks&commit=9c675770ca275899f36c4e489b36009cab4effff |
I have just used this tool to install one sub-package and it worked great! I am trying again with another package from the same monorepo but now I'm getting a 500 error 🤔
I'm assuming that this is just a bit of a blip on the serverside (since it's a 500 error) or a rate-limiting thing somewhere but in the off chance that it's an actual problem I thought I should open an issue to let you know.
Here is a snippet from the full verbose log so you can see what I'm doing:
Let me know if there is anything else that I can provide you with to help debug 👍
The text was updated successfully, but these errors were encountered: