Node.js start fails on Linux platform due to invalid ELF header error #17317
Unanswered
zN3utr4l
asked this question in
Help & Questions
Replies: 1 comment 1 reply
-
That error stems from the sqlite3 package. Their repo is https://github.com/TryGhost/node-sqlite3 I'm not sure though why you want the linux dependencies to be installed on your Windows machine. If for some reason you don't want to install dependencies on the Raspberry Pi directly it might be better to look into some kind of containerization. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a nodejs app on windows that only runs on linux, when building I install the dependencies like this
"SET "npm_config_arch=ia32" ; SET "npm_config_target_arch=ia32" ; SET "npm_config_platform=linux" ; Yarn install"
(as suggested here yarnpkg/yarn#2221 (comment))but it goes wrong
if I install everything directly on raspberry it obviously works, but I need node_modules to be created on my machine, which is not raspberry
Beta Was this translation helpful? Give feedback.
All reactions