You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROTO_PATH: E:\electron-vite-project\example.proto
App threw an error during load
TypeError: Cannot read properties of null (reading 'readFileSync')
at fetch2 (file:///E:/electron-vite-project/dist-electron/main.js:7673:29)
at Root2.load2 [as load] (file:///E:/electron-vite-project/dist-electron/main.js:7702:9)
at Root2.loadSync2 [as loadSync] (file:///E:/electron-vite-project/dist-electron/main.js:7712:17)
at loadProtosWithOptionsSync (file:///E:/electron-vite-project/dist-electron/main.js:11043:28)
at Object.loadSync2 [as loadSync] (file:///E:/electron-vite-project/dist-electron/main.js:11762:61)
at file:///E:/electron-vite-project/dist-electron/main.js:20577:33
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async loadApplicationPackage (file:///E:/electron-vite-project/node_modules/electron/dist/resources/default_app.asar/main.js:129:9)
at async file:///E:/electron-vite-project/node_modules/electron/dist/resources/default_app.asar/main.js:241:9
我甚至写的绝对路径都不行
还有就是如何将这个文件也打包到dist-electron中去
The text was updated successfully, but these errors were encountered:
我想使用grpc来调用其他服务,遇到了困惑我很久的问题
根据grpc官网的node例子写的
但是一直报错
我甚至写的绝对路径都不行
还有就是如何将这个文件也打包到dist-electron中去
The text was updated successfully, but these errors were encountered: