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

Can't build on Linux #152

Open
raphtlw opened this issue Jan 25, 2021 · 1 comment
Open

Can't build on Linux #152

raphtlw opened this issue Jan 25, 2021 · 1 comment

Comments

@raphtlw
Copy link

raphtlw commented Jan 25, 2021

I get this error whenever I try to build my nodegui program:

~/Desktop/Minecraft/big-dub/ServerApp main*
❯ npm run build                                                   

> @ build /home/raphael/Desktop/Minecraft/big-dub/ServerApp
> tsc && nodegui-packer --pack ./dist

cleaning build directory at /home/raphael/Desktop/Minecraft/big-dub/ServerApp/deploy/linux/build
creating build directory at /home/raphael/Desktop/Minecraft/big-dub/ServerApp/deploy/linux/build
copying qode
copying dist
running linuxdeployqt
stderr: /usr/bin/AppImageLauncher: /home/raphael/Desktop/Minecraft/big-dub/ServerApp/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/libQt5Core.so.5: version `Qt_5.15' not found (required by /usr/bin/AppImageLauncher)

OS: Arch linux

@raphtlw raphtlw changed the title Can't seem to build on Linux Can't build on Linux Feb 1, 2021
@eXConf
Copy link

eXConf commented Feb 26, 2021

Same error with sample app on Linux Manjaro:

~/G/l/react-nodegui-starter ❯❯❯ npx nodegui-packer --pack ./dist                  18:27:48
cleaning build directory at /home/exconf/Github/lessons/react-nodegui-starter/deploy/linux/build
creating build directory at /home/exconf/Github/lessons/react-nodegui-starter/deploy/linux/build
copying qode
copying dist
running linuxdeployqt
stderr: /usr/bin/AppImageLauncher: /home/exconf/Github/lessons/react-nodegui-starter/node_modules/@nodegui/nodegui/miniqt/5.14.1/gcc_64/lib/libQt5Core.so.5: version `Qt_5.15' not found (required by /usr/bin/AppImageLauncher)

node:internal/process/promises:245
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "child process exited with code 1".] {
  code: 'ERR_UNHANDLED_REJECTION'
}
npm ERR! code 1
npm ERR! path /home/exconf/Github/lessons/react-nodegui-starter
npm ERR! command failed
npm ERR! command sh -c nodegui-packer "--pack" "./dist"

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/exconf/.npm/_logs/2021-02-26T15_28_43_365Z-debug.log

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