【发布时间】:2016-02-18 00:01:16
【问题描述】:
我已在我的环境中安装了 Watson Dialog 工具并尝试运行 app.js 应用程序。
不幸的是,它没有运行,我收到以下消息: 你能帮我吗 ?谢谢 PCMacBook-Pro:dialog-tool-master philippecomte$ node app.js /Users/philippecomte/Documents/ALGE2016/WATSON_SERVICES_BLUEMIX/Dialog_Services/dialog-tool-master/config/express.js:26 app.use(express.static(__dirname + '/../public')); ^
TypeError:无法读取未定义的属性“使用” 在 module.exports (/Users/philippecomte/Documents/ALGE2016/WATSON_SERVICES_BLUEMIX/Dialog_Services/dialog-tool-master/config/express.js:26:6) 在对象。 (/Users/philippecomte/Documents/ALGE2016/WATSON_SERVICES_BLUEMIX/Dialog_Services/dialog-tool-master/app.js:20:16) 在 Module._compile (module.js:435:26) 在 Object.Module._extensions..js (module.js:442:10) 在 Module.load (module.js:356:32) 在 Function.Module._load (module.js:313:12) 在 Function.Module.runMain (module.js:467:10) 启动时 (node.js:136:18) 在 node.js:963:3 PCMacBook-Pro:dialog-tool-master philippecomte$
【问题讨论】:
标签: javascript node.js ibm-watson watson-dialog