[英]why i faced the Error Cannot find module protobufjs
im using the node library that called node-dota2 I've done all the requirements that node-dota2 needs from this site https://github.com/Arcana/node-dota2#installation-and-setup 1-installed it with npm 2-make file called config.js 3-changed line 5 to dota2 4-make an empty file called sentry我正在使用名为 node-dota2 的节点库我已经完成了 node-dota2 需要从这个站点https://github.com/Arcana/node-dota2#installation-and-setup 1-用 npm 安装它的所有要求2-制作名为 config.js 的文件 3-将第 5 行更改为 dota2 4-制作一个名为 sentry 的空文件
when i run the app with (node example.js) i faced this error click to see don't know how to fix it ?当我使用 (node example.js) 运行应用程序时,我遇到了这个错误,点击查看不知道如何修复它? pls Help
请帮助
Looks like you are missing the protobufjs package.看起来您缺少 protobufjs 包。 Install the package using
npm i protobufjs
and restart your application.使用
npm i protobufjs
安装包并重新启动您的应用程序。
尝试安装特定版本的 protobufjs: npm install protobufjs@4.1.3
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.