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

执行egg-rpc-generator会去构建maven项目进而引发错误,不能退出 #15

Open
wwl88436384 opened this issue Jan 15, 2020 · 1 comment

Comments

@wwl88436384
Copy link

在执行egg-rpc-generator时,因为这个项目是纯客户端执行没问题,服务端执行就会去构建maven项目,我不知道这个是不是开发忘记删除什么东西了,因为即使构建失败也不会影响项目运行,但是构建失败会产生错误,这个错误会被捕捉到,问题就在于egg-rpc-generator.js文件中的这句代码console.error(err.stack.red);因为err.stack是undefined的,所以会导致process无法退出,希望能够修改一下,虽然好像这个项目没人维护了

@wwl88436384
Copy link
Author

自问自答,安装好maven后,把镜像仓库指向阿里的镜像仓库,然后构建成功就可以继续了,虽然,我不知道这步有什么用,但是至少能安全退出了,不过希望作者能够解答一下我的好奇心

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

1 participant