简体   繁体   English

为什么我遇到错误找不到模块 protobufjs

[英]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.

相关问题 我遇到了这个错误:当我命令“npm start”时找不到模块“webpack-cli/bin/config-yargs” - I have faced this Error: Cannot find module 'webpack-cli/bin/config-yargs' when I command `npm start` 为什么我会收到“找不到模块 'jsonLogic'”错误? - Why am I getting a "Cannot find module 'jsonLogic'" error? 为什么这段代码显示找不到模块错误? - why is this code showing cannot find module error? 我有一个错误:找不到模块'./utils' - I have an error : Cannot find module './utils' 错误:找不到模块“ ./” - Error: Cannot find module './' 为什么我会收到错误:下载node.js后找不到模块? - Why do I get an error: Cannot find module after downloading node.js? 为什么我收到此错误找不到模块“nestjs/common”或其相应的类型声明 - Why I got this error Cannot find module 'nestjs/common' or its corresponding type declarations 为什么我会收到此 npm 错误:无法从“/home/directory”中找到模块“/home/directory” - Why do i get this npm Error: Cannot find module '/home/directory' from '/home/directory' 为什么在运行 nodejs express 服务器时出现错误:找不到模块 'html'? - Why do I get Error: Cannot find module 'html' when running nodejs express server? 为什么我无法在脚本中导入导出的数组? 获取[ERR_MODULE_NOT_FOUND]:找不到模块错误 - Why am I unable to import an exported array in my script? Getting [ERR_MODULE_NOT_FOUND]: Cannot find module error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM