小编Bab*_*nti的帖子

Bot服务不能与Node.js一起使用.错误无法找到模块'botbuilder'

我通过带有Node.js和LUIS的"Azure门户"创建了一个Bot服务.创建Bot后,我可以看到"聊天界面"永远加载"加载聊天界面"消息. Bot开发人员界面

所以我通过'dev.botframework.com'中的'我的机器人'打开了Bot并测试了连接.它因以下错误而失败. 机器人聊天窗口

当我在聊天框中ping"Hi"时,我可以在执行函数时看到日志中的错误:Functions.messages.mscorlib:错误:找不到模块'botbuilder'

我可以在'package.json'中看到'botbuildr'依赖关系,如下所示.

{
  "name": "luisbot",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "dependencies": {
    "botbuilder": "^3.7.0",
    "botbuilder-azure": "3.0.2"
  },
  "devDependencies": {
      "restify": "^4.3.0"
  },  
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}
Run Code Online (Sandbox Code Playgroud)

对错误的任何建议?

node.js azure-bot-service

6
推荐指数
1
解决办法
2770
查看次数

标签 统计

azure-bot-service ×1

node.js ×1