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
The current version of restify leads to the following error on Node 18+:
➜ my-echo-bot npm start
> my-echo-bot@1.0.0 start
> node ./index.js
/home/gregborrelly/development/myJsBots/my-echo-bot/node_modules/restify/lib/request.js:848
Request.prototype.closed = function closed() {
^
TypeError: Cannot set property closed of #<Readable> which has only a getter
at patch (/home/gregborrelly/development/myJsBots/my-echo-bot/node_modules/restify/lib/request.js:848:30)
at Object.<anonymous> (/home/gregborrelly/development/myJsBots/my-echo-bot/node_modules/restify/lib/server.js:33:1)
Additional context
PR #4515 upgraded restify for JS echo bot template. We need to update the other templates (empty and core) and the TS versions as well.
The text was updated successfully, but these errors were encountered:
Versions
4.20.0
Describe the bug
The current version of restify leads to the following error on Node 18+:
Additional context
PR #4515 upgraded restify for JS echo bot template. We need to update the other templates (empty and core) and the TS versions as well.
The text was updated successfully, but these errors were encountered: