Giter VIP home page Giter VIP logo

Comments (13)

tariromukute avatar tariromukute commented on June 2, 2024 13

I'm facing that issue starting the server with this command "npm start " Request.prototype.closed = function closed() { ^ TypeError: Cannot set property closed of # which has only a getter

Try upgrading restify. I got "restify": "^11.1.0" and it works now. Do npm remove restify and the npm i restify. I am using node 18.

from node-restify.

hmharsh avatar hmharsh commented on June 2, 2024 7

I downgraded the node version and it starts to work

from node-restify.

mmarchini avatar mmarchini commented on June 2, 2024 4

this is fixed on restify 10

from node-restify.

Chukarslan avatar Chukarslan commented on June 2, 2024 4

Why Jonathan... whaaaay?? :(
I loved the Python SDK but I'm forced to use JS - thanks JS devs you're the worst

from node-restify.

hmharsh avatar hmharsh commented on June 2, 2024 3

facing the same issue while creating the echo bot by following the steps: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-create-bot?view=azure-bot-service-4.0&tabs=javascript%2Cvs#start-your-bot

from node-restify.

nyvs avatar nyvs commented on June 2, 2024 1

@ffchristian you should do a pull request, so they can fix it

from node-restify.

meteorlxy avatar meteorlxy commented on June 2, 2024 1

Already a PR there: #1906

from node-restify.

DataKnox avatar DataKnox commented on June 2, 2024 1

facing the same issue while creating the echo bot by following the steps: https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-create-bot?view=azure-bot-service-4.0&tabs=javascript%2Cvs#start-your-bot

Also why I am here. Using nvm, I installed node v16 and used that, which now works

from node-restify.

nyvs avatar nyvs commented on June 2, 2024

having the same problem...

from node-restify.

ffchristian avatar ffchristian commented on June 2, 2024

I don't have access to the repo thus I cannot make the MR, but in deed there is one already which also tackles the issue

from node-restify.

Ali-Haider91 avatar Ali-Haider91 commented on June 2, 2024

I'm facing that issue starting the server with this command "npm start "
Request.prototype.closed = function closed() {
^
TypeError: Cannot set property closed of # which has only a getter

from node-restify.

Ali-Haider91 avatar Ali-Haider91 commented on June 2, 2024

I'm facing that issue starting the server with this command "npm start " Request.prototype.closed = function closed() { ^ TypeError: Cannot set property closed of # which has only a getter

Try upgrading restify. I got "restify": "^11.1.0" and it works now. Do npm remove restify and the npm i restify. I am using node 18.

I have already version use "restify : ^11.1.0" till not working, condition luis connectivity.

from node-restify.

Ali-Haider91 avatar Ali-Haider91 commented on June 2, 2024

I also facing this error :
WARN: ChatConnector: receive - emulator running without security enabled.
ChatConnector: message received.
UniversalBot("*") routing "hiih" from "emulator"
Session.beginDialog(/)
Error
at Request._callback (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\lib\dialogs\LuisRecognizer.js:110:31)
at self.callback (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\node_modules\request\request.js:185:22)
at Request.emit (node:events:513:28)
at Request.init (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\node_modules\request\request.js:273:17)
at new Request (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\node_modules\request\request.js:127:8)
at request (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\node_modules\request\index.js:53:10)
at Function.get (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\node_modules\request\index.js:61:12)
at LuisRecognizer.recognize (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\lib\dialogs\LuisRecognizer.js:92:21)
at LuisRecognizer.onRecognize (C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\lib\dialogs\LuisRecognizer.js:42:32)
at C:\Users\Ali Haider\Documents\Project\Nodejs Bot\Ms-Chatbot-nodejs\node_modules\botbuilder\lib\dialogs\IntentRecognizer.js:18:23
/ - ERROR:
/ - Session.endConversation()
Session.sendBatch() sending 2 message(s)

from node-restify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.