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

Problem install Miniflare 3 on Arch #472

Closed
vlovich opened this issue Jan 11, 2023 · 4 comments
Closed

Problem install Miniflare 3 on Arch #472

vlovich opened this issue Jan 11, 2023 · 4 comments
Labels
tre Relating to Miniflare 3

Comments

@vlovich
Copy link
Contributor

vlovich commented Jan 11, 2023

Small little problem installing this on Arch.

npm ERR! Error: Command failed: node_modules/workerd/bin/workerd --version
npm ERR! node_modules/workerd/bin/workerd: error while loading shared libraries: libunwind.so.1: cannot open shared object file: No such file or directory

I do have the libunwind packaged installed on Arch but it's libunwind.so.8.0.1 (v1.6.2 in the packages). It did actually install successfully if I symlinked libunwind.so.1 against libunwind.so.8.0.1. So I think there's a packaging bug where either libunwind should be statically linked OR the rpath should be linking against libunwind.so instead of libunwind.so.1?

@vlovich
Copy link
Contributor Author

vlovich commented Jan 11, 2023

This was @miniflare/tre@^3.0.0-next.1. I got a cache miss on next.10 so it's building the entire thing from scratch right now.

@mrbbot mrbbot added the tre Relating to Miniflare 3 label Jan 25, 2023
@mxschumacher
Copy link

Hello - I face the same issue on my Manjaro (Arch) system. Running

npm install -D @miniflare/tre

fails with versions 16, 18 and 19 of node due to the libunwind dependency. libunwind 1.6.2-2 is installed on my system. The miniflare version at the time of writing is: 2.13.0

@ChristianJacobsen
Copy link

Hello - I face the same issue on my Manjaro (Arch) system. Running

npm install -D @miniflare/tre

fails with versions 16, 18 and 19 of node due to the libunwind dependency. libunwind 1.6.2-2 is installed on my system. The miniflare version at the time of writing is: 2.13.0

There is a somewhat temporary solution you can use where you just symlink the so yourself. That fixed it for me. Hoping for a better fix later.

@mrbbot
Copy link
Contributor

mrbbot commented Nov 7, 2023

Hey! 👋 I'm going to close this issue now as the situation should be significantly improved with cloudflare/workers-sdk#3457 (comment). Our minimum system requirements are now documented here: https://developers.cloudflare.com/workers/wrangler/commands/#dev.

@mrbbot mrbbot closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tre Relating to Miniflare 3
Projects
None yet
Development

No branches or pull requests

4 participants