Closed jim-king-2000 closed 9 months ago
pm2
is not installed in containers.
Change it to pm2-runtime
.
You will need to add {{#deps}} RUN apk add {{{.}}} {{/deps}}
{{#bootstrap}} RUN {{{.}}} {{/bootstrap}}
after
WORKDIR
indeno.Dockerfile
Done.
and bun install prior to CMD in bun.Dockerfile
Done.
Still some errors. Any solution?
This error:
curl --retry 5 --retry-delay 5 --retry-max-time 180 --retry-connrefused http://`cat javascript/elysia/ip-bun.txt`:3000 -v
* Closing connection -1
It seems that the ip address is not acquired.
Still not OK. The same issue.
Good for bun
, but deno
still fails.
Accroding to the bun
startup command, I modify the deno
startup command as the following:
nohup pm2-runtime start "deno run --allow-net --allow-read=. app.ts" -i max
Thank god, it works.
What's wrong withstricjs
?
I don't know. Any request is failing
Stack is
1 |
2 | const c0=app.static['/']['GET'],c1=app.static['/user']['POST'],f=app.router.find.bind(app.router);return function(r){const s=url.indexOf('/',12) + 1;r.query=r.url.indexOf('?',s);const p=r.query===-1?r.url.substring(s):r.url.substring(s,r.query);switch(p){case'':if(r.method==='GET')return c0(r);break;case'user':if(r.method==='POST')return c1(r);break;}const o=f(r.method,p);if(o===null)return;r.params=o;return o._(r);}
^
ReferenceError: Can't find variable: url
cc @aquapi
Shall we fix the failure of stricjs
?
We can try either in this PR or in another, stricjs
I'd already failing on master so both solutions are OK for me.
However, since I cannot publish the results this monday, we can wait a little bit to handle a fix.
OK. I'm going to fix stricjs
.
The case of low-http-server
failed. I didn't touch it. So I think this PR is ready to be merged.
Could you merge master please ? @jim-king-2000
Could you merge master please ? @jim-king-2000
Done.
I'm looking forward to the result.
Will be done next monday
Will be done next monday
Could be a little bit earlier?
I can understand the impatience, but no reasons to rush
I prefer to keep the same publishing day (except that I can not this one)
Sure. Take your time.
By the way, I'm just destroyed by this book.
Will be done next monday
No new result? @waghanza
Something went wrong on my end. Will publish results next week (and ping you)
I hope that it was not my D PRs) looking forward results next week :) thanks @waghanza
Something went wrong on my end. Will publish results next week (and ping you)
Just a kind reminder, "next week" is coming.
don't worry, it's planned :-)
See elysiajs/elysia#64.