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

c build error when installing on ubuntu #63

Open
NanoGameReviews opened this issue Apr 26, 2021 · 0 comments
Open

c build error when installing on ubuntu #63

NanoGameReviews opened this issue Apr 26, 2021 · 0 comments

Comments

@NanoGameReviews
Copy link

Steps to reproduce:

  1. Follow the instructions in the readme for building on ubuntu.
  2. When you run npm install you get the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^16.12.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"0.x" from [email protected]
npm ERR! node_modules/react-file-input
npm ERR!   react-file-input@"^0.2.5" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /home/[REDACTED]/.npm/eresolve-report.txt for a full report.
  1. If you run with npm install --legacy-peer-deps, you get:
c++: fatal error: Killed signal terminated program cc1plus
npm ERR! compilation terminated.
npm ERR! make[4]: *** [src/checkpoints/CMakeFiles/obj_checkpoints.dir/build.make:63: src/checkpoints/CMakeFiles/obj_checkpoints.dir/checkpoints.cpp.o] Error 1
npm ERR! make[3]: *** [CMakeFiles/Makefile2:1549: src/checkpoints/CMakeFiles/obj_checkpoints.dir/all] Error 2
npm ERR! make[3]: *** Waiting for unfinished jobs....
npm ERR! c++: fatal error: Killed signal terminated program cc1plus
npm ERR! compilation terminated.
npm ERR! make[4]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/build.make:63: src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/blockchain.cpp.o] Error 1
npm ERR! make[3]: *** [CMakeFiles/Makefile2:1684: src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all] Error 2
npm ERR! c++: fatal error: Killed signal terminated program cc1plus
npm ERR! compilation terminated.
npm ERR! make[4]: *** [src/safex/CMakeFiles/obj_safex_core.dir/build.make:63: src/safex/CMakeFiles/obj_safex_core.dir/command.cpp.o] Error 1
npm ERR! make[4]: *** Waiting for unfinished jobs....
npm ERR! c++: fatal error: Killed signal terminated program cc1plus
npm ERR! compilation terminated.
npm ERR! make[4]: *** [src/safex/CMakeFiles/obj_safex_core.dir/build.make:102: src/safex/CMakeFiles/obj_safex_core.dir/safex_account.cpp.o] Error 1
npm ERR! make[3]: *** [CMakeFiles/Makefile2:1810: src/safex/CMakeFiles/obj_safex_core.dir/all] Error 2
npm ERR! make[2]: *** [CMakeFiles/Makefile2:2503: src/wallet/CMakeFiles/wallet_merged.dir/rule] Error 2
npm ERR! make[1]: *** [Makefile:838: wallet_merged] Error 2
npm ERR! make: *** [Makefile:71: safexcore-build] Error 2
npm ERR! cp: cannot stat 'build/Release/safex.node': No such file or directory
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /home/[REDACTED]/.npm/_cacache/tmp/git-clone-8bb34063
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c ./install.sh
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

1 participant