Skip to content

Installing on Raspberry Pi #372

Closed Answered by giladgd
physimo asked this question in Q&A
Oct 24, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

It seems that the npm process exited with code 1 without printing a reason for this to the console, so there are no logs for this.

Since I see that the code is running on Linux, it may be related to the installation of nodejs, SELinux policy, or improper permissions.
There's an issue with some nodejs installations on Linux where nodejs cannot spaw other processes, and this is required for building llama.cpp from source.
From my experience, it usually happens when installing nodejs from snap, so if that's the case, try to uninstall it and install it from NodeSource instead.

If you can run npx -y node-llama-cpp inspect gpu and attach the output of it, it would help me figure out what the is…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@giladgd
Comment options

@physimo
Comment options

@giladgd
Comment options

@physimo
Comment options

@physimo
Comment options

Answer selected by giladgd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants