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

yarn start #3

Open
smwein opened this issue Oct 6, 2021 · 1 comment
Open

yarn start #3

smwein opened this issue Oct 6, 2021 · 1 comment

Comments

@smwein
Copy link

smwein commented Oct 6, 2021

When I run yarn start I get the following error.

[electron] /root/MintUI/node_modules/electron/dist/electron: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory
[electron] npm ERR! code ELIFECYCLE
[electron] npm ERR! syscall spawn
[electron] npm ERR! file sh
[electron] npm ERR! errno ENOENT
[electron] npm ERR! MintUI@0.1.0 electron: wait-on tcp:3000 && electron .
[electron] npm ERR! spawn ENOENT
[electron] npm ERR!
[electron] npm ERR! Failed at the MintUI@0.1.0 electron script.
[electron] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[electron]
[electron] npm ERR! A complete log of this run can be found in:
[electron] npm ERR! /root/.npm/_logs/2021-10-06T04_12_57_070Z-debug.log
[electron] npm run electron exited with code 1
--> Sending SIGTERM to other processes..
[0] BROWSER=none craco start exited with code SIGTERM
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@ohaddahan
Copy link

You're missing some dependencies:
https://www.codegrepper.com/code-examples/shell/error+while+loading+shared+libraries%3A+libxshmfence.so.1%3A+cannot+open+shared+object+file%3A+No+such+file+or+directory

If you run ldd /root/MintUI/node_modules/electron/dist/electron you'll see it can't find libxshmfence.so.1 , try the proposed solution in the 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