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

编译的docker镜像有点问题 #112

Open
xupengyao opened this issue Jan 22, 2020 · 3 comments
Open

编译的docker镜像有点问题 #112

xupengyao opened this issue Jan 22, 2020 · 3 comments

Comments

@xupengyao
Copy link

    直接从github拉取这份代码下来编译docker镜像运行正常,但是我把这份代码推送到自己的gitlab之后再拉取下来编译,发现上传安装包的时候有问题:

`Not sure what to do with typed value of type 0x4, falling back to reading an uint32.
/opt/server/controllers/upload.js:365
if (typeof data['application-icon-' + iconSize[i]] !== 'undefined') {
^

TypeError: Cannot read property 'application-icon-640' of undefined
at apkParser3 (/opt/server/controllers/upload.js:353:28)
at /opt/server/library/apkparser/apkparser.js:22:14
at exithandler (child_process.js:301:5)
at ChildProcess.errorhandler (child_process.js:313:5)
at ChildProcess.emit (events.js:189:13)
at ChildProcess.EventEmitter.emit (domain.js:441:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: babel-node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-01-22T08_58_14_219Z-debug.log`
麻烦给与指点,谢谢!

@yolo2h
Copy link

yolo2h commented Feb 19, 2020

我这里也出现了,解决办法是给server/library/apkparser/下的aapt-linuxaapt-osx执行权限。

@answer-huang
Copy link

@xupengyao @yolo2h 可以试下这个仓库, 更新了不少依赖和文件:

https:/answer-huang/fabu.love

@yolo2h
Copy link

yolo2h commented Aug 26, 2021

@xupengyao @yolo2h 可以试下这个仓库, 更新了不少依赖和文件:

https:/answer-huang/fabu.love

非常感谢,我们之前基于这个仓库又进行了开发,而且好久没动过这个服务了,就先不改啦。

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

3 participants