Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 899
CHEETAH Avatar asked Mar 22 '26 04:03

CHEETAH


1 Answers

Try installing a specific version of protobufjs: npm install [email protected]

like image 197
user856358 Avatar answered Mar 23 '26 17:03

user856358