Tell us about yourself!

Complete Your Profile
  • cmackin commented on supbt's instructable Build a Weather Bot2 months ago
    Build a Weather Bot

    I loaded everything per your instructions, but after running I get the following error:pi@raspberrypi:~/tjweather $ sudo node weather.jsmodule.js:471throw err;^Error: Cannot find module 'watson-developer-cloud'at Function.Module._resolveFilename (module.js:469:15)at Function.Module._load (module.js:417:25)at Module.require (module.js:497:17)at require (internal/module.js:20:19)at Object.<anonymous> (/home/pi/tjweather/weather.js:13:14)at Module._compile (module.js:570:32)at Object.Module._extensions..js (module.js:579:10)at Module.load (module.js:487:32)at tryModuleLoad (module.js:446:12)at Function.Module._load (module.js:438:3)I also noticed that after running 'npm install' there is no 'node_modules' dir in the jtweather dir.

    View Instructable »
  • TJBot - Build a Talking Robot With Watson Conversation

    Cannot find module 'tjbot'I have tried everything including rebuilding the RPi. Below is what I type to run Conversation.js and the following is the error. Any help here would be great.I get a similar error when I run stt.jsError: Cannot find module './config'It seems like the directory of install is wrong or there is an index file that needs to be configured.pi@raspberrypi:~/tjbot/recipes/conversation $ sudo node conversation.jsmodule.js:472throw err;^Error: Cannot find module 'tjbot'at Function.Module._resolveFilename (module.js:470:15)at Function.Module._load (module.js:418:25)at Module.require (module.js:498:17)at require (internal/module.js:20:19)at Object.<anonymous> (/home/pi/tjbot/recipes/conversation/conversation.js:17:13)at Module._compile (module.js:571:32)at Object.Mod...

    see more »

    Cannot find module 'tjbot'I have tried everything including rebuilding the RPi. Below is what I type to run Conversation.js and the following is the error. Any help here would be great.I get a similar error when I run stt.jsError: Cannot find module './config'It seems like the directory of install is wrong or there is an index file that needs to be configured.pi@raspberrypi:~/tjbot/recipes/conversation $ sudo node conversation.jsmodule.js:472throw err;^Error: Cannot find module 'tjbot'at Function.Module._resolveFilename (module.js:470:15)at Function.Module._load (module.js:418:25)at Module.require (module.js:498:17)at require (internal/module.js:20:19)at Object.<anonymous> (/home/pi/tjbot/recipes/conversation/conversation.js:17:13)at Module._compile (module.js:571:32)at Object.Module._extensions..js (module.js:580:10)at Module.load (module.js:488:32)at tryModuleLoad (module.js:447:12)at Function.Module._load (module.js:439:3)

    I am having the same problem. I have reinstalled and still I can't get it to work. I have configured the config.js and removed the default, but still no joy. I had this working in a previous installation but this one is not working. What does it mean by "Cannot find module 'tjbot'?"I think this must have something to do with the directory that tjbot is installed. I have tried moving it around, but still not working.

    View Instructable »