NODE.JS - 找不到模块“@hapi/boom”
NODE.JS - Cannot find module '@hapi/boom'
有人要求我创建一个超级简单的聊天机器人。我不是开发人员,以前从未使用过 node.js。我发现 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.imgur.com/JcA3J3Q.png
我无法解决它。
有人知道这是怎么回事吗?非常感谢。
你需要 Maap
,前提是你在 node_modules 上有它,替换
const Maap = require('../')
机智这一行应该工作:
const Maap = require('rcs-maap-bot')
有人要求我创建一个超级简单的聊天机器人。我不是开发人员,以前从未使用过 node.js。我发现 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.imgur.com/JcA3J3Q.png
我无法解决它。
有人知道这是怎么回事吗?非常感谢。
你需要 Maap
,前提是你在 node_modules 上有它,替换
const Maap = require('../')
机智这一行应该工作:
const Maap = require('rcs-maap-bot')