简体   繁体   中英

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

when i run the app with (node example.js) i faced this error click to see don't know how to fix it ? pls Help

Looks like you are missing the protobufjs package. Install the package using npm i protobufjs and restart your application.

尝试安装特定版本的 protobufjs: npm install protobufjs@4.1.3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM