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

Installation on Linux failed #13

Closed
LarryTLlama opened this issue Jul 14, 2022 · 6 comments
Closed

Installation on Linux failed #13

LarryTLlama opened this issue Jul 14, 2022 · 6 comments

Comments

@LarryTLlama
Copy link

Hey, having problems running raknet-native on a Rapberry Pi running Linux today:

Error log:
`/home/pi/Desktop/raknet/node_modules/bindings/bindings.js:135
throw err;
^

Error: Could not locate the bindings file. Tried:
→ /home/pi/Desktop/raknet/node_modules/raknet-native/build/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/build/Debug/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/build/Release/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/out/Debug/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/Debug/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/out/Release/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/Release/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/build/default/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/compiled/18.2.0/linux/arm/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/addon-build/release/install-root/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/addon-build/debug/install-root/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/addon-build/default/install-root/node-raknet.node
→ /home/pi/Desktop/raknet/node_modules/raknet-native/lib/binding/node-v108-linux-arm/node-raknet.node
at bindings (/home/pi/Desktop/raknet/node_modules/bindings/bindings.js:126:9)
at Object. (/home/pi/Desktop/raknet/node_modules/raknet-native/binding.js:30:33)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/pi/Desktop/raknet/node_modules/raknet-native/index.js:1:18)
at Module._compile (node:internal/modules/cjs/loader:1105:14) {
tries: [
'/home/pi/Desktop/raknet/node_modules/raknet-native/build/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/build/Debug/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/build/Release/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/out/Debug/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/Debug/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/out/Release/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/Release/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/build/default/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/compiled/18.2.0/linux/arm/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/addon-build/release/install-root/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/addon-build/debug/install-root/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/addon-build/default/install-root/node-raknet.node',
'/home/pi/Desktop/raknet/node_modules/raknet-native/lib/binding/node-v108-linux-arm/node-raknet.node'
]
}

Node.js v18.2.0
`
Also ran this on Node V12.0.0 (on another machine) and no luck
Works great on a Windows 10 device though!

Found #4 but was not sure if that related to this. Is there any short-term fixes for this yet?
Thanks, Larry.

@Kaaaaii
Copy link

Kaaaaii commented Jul 23, 2022

agree, dont work on pi pls fix

@extremeheat
Copy link
Owner

Please provide the entire install log. There is not enough information here to deduce the problem.

@LarryTLlama
Copy link
Author

Please provide the entire install log. There is not enough information here to deduce the problem.

NPM Ran into some errors on my side when installing. Ended up having to clone the repo and use it that way, hence the above (in-full) error log. Finally got my side fixed, so here's the error log from installing with npm i raknet-native, somewhat similar to the above with an error with some sort of bindings file:

raknet-native-log.txt

@stale
Copy link

stale bot commented Sep 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Sep 4, 2022
@stale stale bot closed this as completed Sep 11, 2022
@extremeheat extremeheat reopened this Oct 1, 2022
@stale stale bot removed the wontfix This will not be worked on label Oct 1, 2022
@stale
Copy link

stale bot commented Nov 20, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 20, 2022
@stale stale bot closed this as completed Nov 28, 2022
@extremeheat extremeheat reopened this Dec 8, 2022
@stale stale bot removed the wontfix This will not be worked on label Dec 8, 2022
@extremeheat
Copy link
Owner

npm ERR! ERR! OMG CMake executable is not found. Please use your system's package manager to install it, or you can get installers from there: http://cmake.org.

This error is due to missing CMake. You need to install it on your system, google how to do it with your system's package manager

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

3 participants