这个错误提示是在加载模块 'service/proto_gen/auth/protobufjs/minimal.js' 时出错,需要使用 'protobufjs/minimal'。

解决方法:

  1. 确保你的代码中正确引入了 'protobufjs/minimal' 模块,而不是 'service/proto_gen/auth/protobufjs/minimal.js'。
  2. 检查是否正确安装了 protobufjs 模块。你可以通过运行 npm install protobufjs 来安装。
  3. 如果已经安装了 protobufjs 模块,那么可能是路径配置有误。请检查模块的引入路径是否正确,确保路径与模块实际位置相匹配。

如果以上方法没有解决问题,请提供更多的代码和相关信息,以便我能够更具体地帮助你解决问题。

我生成的js文件报错VM899 appjs错误 Error module serviceproto_genauthprotobufjsminimaljs is not defined require args is protobufjsminimal at q WASubContextjst=wechat&s=1688546228681&v=23231 at n WASubContex

原文地址: https://www.cveoy.top/t/topic/hMlM 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录