Open tgotowik opened 5 months ago
I believe if *.nupkg
doesn't expand to anything in your shell, you would get this error.
Do you have any nupkg files there?
Are you running the command in bash or some other shell that expands globs?
I got that error as well when trying to dockerize. Solution was to add bash.
CMD ["bash","-c", "npx -y express-chocolatey-server /packages/*.nupkg"]
Why did that fix it? I have no idea. I got the suggestion from a stack overflow link.
I also didn't do any npm commands ahead of time. just npx.
Steps to Reproduce
Expected Behaviour Standalone Server should come up.