You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses fly.io as deployment platform and you might need an account there to exactly reproduce this, but maybe just deploying the Dockerfile locally works as well. Below are the steps for fly.io:
create an .env file in the repository root and add PORT=8000 to it
if you're not logged in fly yet deno task authenticate
deno task create-app
fly secrets set PORT=8000
deno task scale
deno task deploy
This may be related to #82 and may be fixed by #83, however I never rename the DENO_DIR in my case, in case this a requirement for this issue to occur.
Running deno task build locally works just fine for me.
The text was updated successfully, but these errors were encountered:
I'm not sure if this is because of Docker. I had a working Esbuild config, then I added another entry-point and encountered the error message described here.
constres=awaitesbuild.build({plugins: [...denoPlugins()],entryPoints: [fileA,fileB],// <---- adding file B here produced the erroroutdir: filePath('dist'),bundle: true,splitting: true,format: 'esm'});
In my case, I had a dependency that was used in both scripts, and it seemed like it was a race condition where both builds started loading the file. I solved it by just runnning Esbuild twice for now, one for each entry. Maybe my experience can help out with this somehow.
When running
in a fresh project in a Docker environment, it fails with this:
To reproduce, check out this repository: https://github.com/pumpncode/open-match
It uses fly.io as deployment platform and you might need an account there to exactly reproduce this, but maybe just deploying the Dockerfile locally works as well. Below are the steps for fly.io:
PORT=8000
to itdeno task authenticate
deno task create-app
fly secrets set PORT=8000
deno task scale
deno task deploy
This may be related to #82 and may be fixed by #83, however I never rename the
DENO_DIR
in my case, in case this a requirement for this issue to occur.Running
deno task build
locally works just fine for me.The text was updated successfully, but these errors were encountered: