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

[Bugs] package.json 中缺少 electron-builder #14

Open
zxp19821005 opened this issue Jun 5, 2024 · 2 comments
Open

[Bugs] package.json 中缺少 electron-builder #14

zxp19821005 opened this issue Jun 5, 2024 · 2 comments
Labels
bug Something isn't working 开发中 Extra attention is needed

Comments

@zxp19821005
Copy link

zxp19821005 commented Jun 5, 2024

如题。我已经将其移植到了ArchLinux的AURlive2d-kanban-desktop,但是在有用户在编译时各种报错,最近的错误是 https://aur.archlinux.org/packages/live2d-kanban-desktop#comment-976544 ,我检查了下,是package.json中缺少electron-builder的定义,在scripts段需要用到。希望能够添加。另:我使用npm编译打包时各种问题,所以我在AUR上使用了pnpm,希望可以考虑使用pnpm或者yarn来打包。

@SamLukeYes

This comment was marked as off-topic.

@JimHans
Copy link
Owner

JimHans commented Jun 5, 2024

看上去是编译get-cursor-position出的错。这个库是个指针跟随库,本来是准备拿来做指针跟随的,然而之后发现它是获取console光标而非指针,不符合要求因此就放弃了,但没管package所以package.json每次还是包含它,甚至每次打包也会编译这东西(我的锅
这个库是没有预编译文件的,因此需要每次打包的时候编译,考虑到这玩意现在已经不再需要了,我更新一下package.json,删除它的引用应该就能解决问题

@JimHans JimHans added bug Something isn't working 开发中 Extra attention is needed labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 开发中 Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants