lukejmann / MintUI

172 stars 72 forks source link

yarn start #3

Open smwein opened 3 years ago

smwein commented 3 years ago

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 commented 3 years ago

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.