-
I have a multi stage docker image in a docker-compose. When I attempt to publish to verdaccio, publishes fail because a fetch isn't resolving. I am on version 6, but this also happened on version 5 of verdaccio.
Running this stage here, I get a failure on the first package (None of the packages exist on
The docker compose file uses the
It's a bit of a weird error - my suspicion is that because these packages do not exist, it doesn't resolve after proxying. But i'm not sure why that matters in this case. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I think you are missing the server log, you can check what's going there and if is need it increase the debug (see the wiki about how to do it). Aside from that seems non an issue in verdaccio. |
Beta Was this translation helpful? Give feedback.
-
From the npm log it looks like you use As stated above, the Verdaccio log should tell you more (esp with DEBUG env set) |
Beta Was this translation helpful? Give feedback.
-
Hey - thanks for responses. You are right about the restricted part. The interesting thing is that verdaccio works perfectly fine if i just deploy the verdaccio instance - and then try to publish from a new terminal. So
But my goal was really to automate this, so i was hoping to When I try to publish from within the docker image, that error is occuring still. The tricky part is, it seems to swallow the debug logs so I can't really get them. I see the debug logs if I just "spawn" verdaccio from my docker image, but once I start running new commands it seems to error. I'm not a docker expert - i'm guessing I need to adjust a few things but I can report back if I can get some real logs for you. It seems like its not a verdaccio issue and more a my docker inexperience showing. |
Beta Was this translation helpful? Give feedback.
-
Was able to resolve it, sorry and thanks |
Beta Was this translation helpful? Give feedback.
Hey - thanks for responses. You are right about the restricted part.
The interesting thing is that verdaccio works perfectly fine if i just deploy the verdaccio instance - and then try to publish from a new terminal.
So
docker compose up
new terminal publish, works great.
But my goal was really to automate this, so i was hoping to
docker compose up
which would run every step including publishing the packages.When I try to publish from within the docker image, that error is occuring still. The tricky part is, it seems to swallow the debug logs so I can't really get them.
I see the debug logs if I just "spawn" verdaccio from my docker image, but once I start running new commands it seems t…