Skip to content

Commit

Permalink
fix: Upgrading restify to fix error on Node version 18+ (#4515)
Browse files Browse the repository at this point in the history
Current version 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)
  • Loading branch information
GregBorrelly committed Aug 17, 2023
1 parent 5b58d10 commit 447c81c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"botbuilder": "~4.15.0",
"dotenv": "~8.2.0",
"restify": "~10.0.0"
"restify": "~11.1.0"
},
"devDependencies": {
"eslint": "^7.0.0",
Expand Down

0 comments on commit 447c81c

Please sign in to comment.