hubot-natural
hubot-natural copied to clipboard
ENOENT: no such file or directory, lstat 'corpus.yml'
bin\hubot npm WARN [email protected] requires a peer of coffee-script@^1.12.6 but none is installed. You must install peer dependencies yourself.
up to date in 6.152s
[Mon Mar 25 2019 17:44:38 GMT+0530 (India Standard Time)] DEBUG Loading adapter rocketchat
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Starting Rocketchat adapter version 1.0.12...
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Once connected to rooms I will respond to the name: ServiceDesk
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] WARNING No services ROCKETCHAT_ROOM provided to Hubot, using
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Connecting To: localhost:3000
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Successfully connected!
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Logging In
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Successfully Logged In
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO rid: []
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO All rooms joined.
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Preparing Meteor Subscriptions..
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Subscribing to Room: my_messages
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Successfully subscribed to messages
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] INFO Setting up reactive message list...
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] DEBUG Loading scripts from D:\BT\Rocket.Chat\RC\mybot\scripts
[Mon Mar 25 2019 17:44:39 GMT+0530 (India Standard Time)] DEBUG Parsing help for D:\BT\Rocket.Chat\RC\mybot\scripts\example.coffee
Loading corpus: corpus.yml
An error occurred while trying to load bot's config.
{ Error: ENOENT: no such file or directory, lstat 'corpus.yml'
at Object.lstatSync (fs.js:840:3)
at common.loadConfigfile (D:\BT\Rocket.Chat\RC\mybot\scripts\lib\common.coffee:72:11)
at Object.
errno: -4058, syscall: 'lstat', code: 'ENOENT', path: 'corpus.yml' }
@krishnaprasadhg I have met the same error when using the default configurations on HUBOT_CORPUS, after replacing it with full path, I have started the bot. Please just have a try.