0

I've been asked to create a super simple chatbot. I'm not a developer and I've never used node.js before. I found this simple demo on GitHub. I first ran npm install rcs-maap-bot as the main page says, pasted the code, ran it and I get this error. Online research said to move its missing index.js so I moved copied it a directory back and now I get this error: https://i.stack.imgur.com/4nVj3.png

I wasn't able to resolve it.

Does anyone know what's going on? Huge thanks ahead.

HeadTea
  • 89
  • 3
  • 10

1 Answers1

1

You need Maap, provided that you have it on node_modules, replacing

const Maap = require('../')

wit this line should work:

const Maap = require('rcs-maap-bot')
malarres
  • 2,941
  • 1
  • 21
  • 35