esm-dev/esm.sh

No versions available for esm-node-services

Closed this issue · 9 comments

Following this guide:
https://github.com/esm-dev/esm.sh/blob/main/HOSTING.md

Error:

node services exit: install services: exit status 1  ERR_PNPM_NO_VERSIONS  No versions available for esm-node-services. The package may be unpublished.

This is just spamming the logs repeatedly.

Config:

{
  "port": 8080
}

Dockerfile:

FROM ghcr.io/esm-dev/esm.sh
ADD ./config.json /etc/esmd/config.json
CMD ["esmd", "--config", "/etc/esmd/config.json"]

Build & Run:

 docker build -t esmsh . && docker run -p 8080:8080 -t esmsh

I'm on MacOS/arm64.

Any ideas?

ije commented

i recently removed esm-node-services package from npm which is not needed by the server of the dev branch, the docker not update yet. however i republished the package, can you please try again? thanks

ije commented

i updated the docker image, please try again

ije commented
Screenshot 2024-02-28 at 09 43 29

i think you may need to re-pull the image

ije commented

wait..

ije commented
Screenshot 2024-02-28 at 11 29 05

now it should work fine

confirmed, thanks!