Javascript 候机楼休伯特酒店
我在MacBook Pro上运行OS X Yosemite版本10.10.3,我用TextMate版本2.0-beta.7.4编写代码,所有heroku和hubot都是最新版本 在一堂课上,我们必须将Hubot安装到计算机上,以便对终端中的代码进行本地测试。一旦代码正常,我们就把它推给Heroku,用另一个机器人测试它。然后,如果老师把这个机器人推到git上,我们就可以用Hubot来展示我们编写的代码 我的问题是我制作的代码没有被hubot在我的终端上看到。我可以做些什么来解决这个问题,以便继续下一步?我所做的只是编写代码,但它从未在终端中显示给hubot 当我试着在我被认为之前推到Heroku时,我犯了这个错误Javascript 候机楼休伯特酒店,javascript,heroku,osx-yosemite,hubot,Javascript,Heroku,Osx Yosemite,Hubot,我在MacBook Pro上运行OS X Yosemite版本10.10.3,我用TextMate版本2.0-beta.7.4编写代码,所有heroku和hubot都是最新版本 在一堂课上,我们必须将Hubot安装到计算机上,以便对终端中的代码进行本地测试。一旦代码正常,我们就把它推给Heroku,用另一个机器人测试它。然后,如果老师把这个机器人推到git上,我们就可以用Hubot来展示我们编写的代码 我的问题是我制作的代码没有被hubot在我的终端上看到。我可以做些什么来解决这个问题,以便继续
2015-06-26T16:56:00.521845+00:00 app[web.1]: [Fri Jun 26 2015 12:56:00 GMT-0400 (EDT)] ERROR Unable to load /app/scripts/thisclass: /app/scripts/thisclass.js:1
我为这些文件编写的代码是JavaScript end so.js
这是thisclass.js
// Description:
// Explaining the class, program, and school.
//
// Dependencies:
// None
//
// Configuration:
// None
//
// Commands:
// hubot dwp class - Explaining the class, program, and school.
//
// Author:
// Emily Van Vlerah
//
// Contributor:
// None
module.exports = function(robot){
// User types in command
return robot.respond(/dwp class/i,function(msg){
//The class information
msg.send("This is the Deployment of Web Applications for the Web Design and Development program at Full Sail University.");
});
}
我的另一个文件就是相同的示例,除了显示的信息。在粘贴的代码中,缺少一个
代码>在最后