Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pb-egret generate 失败了 #13

Open
Android-IT opened this issue May 27, 2019 · 1 comment
Open

pb-egret generate 失败了 #13

Android-IT opened this issue May 27, 2019 · 1 comment

Comments

@Android-IT
Copy link

{ [Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "pbjs --no-convert -t static --keep-case -p protobuf\protofile GoodsInfo.proto Person.proto -o C:\Users\LUO\AppData\Local\Temp\pbegret\temp.js"
module.js:327
throw err;
^

Error: Cannot find module 'fs.realpath'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\LUO\AppData\Roaming\npm\node_modules\protobufjs\cli\node_modules\glob\glob.js:44:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
]
killed: false,
code: 1,
signal: null,
cmd: 'C:\WINDOWS\system32\cmd.exe /s /c "pbjs --no-convert -t static --keep-case -p protobuf\protofile GoodsInfo.proto Person.proto -o C:\Users\LUO\AppData\Local\Temp\pbegret\temp.js"' } @WanderWang @WanderWang

@yangcyer
Copy link

怎么解决的 ??有方案了吗 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants