Skip to content

Add linux arm musl build#5254

Closed
lukastaegert wants to merge 13 commits intomasterfrom
add-linux-arm-musl-build
Closed

Add linux arm musl build#5254
lukastaegert wants to merge 13 commits intomasterfrom
add-linux-arm-musl-build

Conversation

@lukastaegert
Copy link
Member

@lukastaegert lukastaegert commented Nov 17, 2023

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

@vercel
Copy link

vercel bot commented Nov 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2023 3:38pm

@github-actions
Copy link

github-actions bot commented Nov 17, 2023

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#add-linux-arm-musl-build

Notice: Ensure you have installed Rust nightly. If you haven't installed it yet, please first see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust, then see https://rust-lang.github.io/rustup/concepts/channels.html to learn how to install Rust nightly.

or load it into the REPL:
https://rollup-jpri3sk84-rollup-js.vercel.app/repl/?pr=5254

@lukastaegert
Copy link
Member Author

I really tried, but it seems in the end, I cannot use zig as a linker and I have reached the end of my knowledge how to get this to work and officially give up here. The best thing I can do is to display a proper error for the musl environments.

@juliusiqbal
Copy link

I had to use below code in package.json file and remove node_modules folder and run npm install.

"overrides": {
    "vite": {
      "rollup": "npm:@rollup/wasm-node"
    }
  }

I had to run below commands for dockerized app where npm i should run inside container.

docker compose run reusebin-ui npm i && \
  docker compose down && \
  rm -rf node_modules && \
  docker compose up --build

@sapphi-red sapphi-red mentioned this pull request Apr 14, 2024
9 tasks
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

Successfully merging this pull request may close these issues.

Failed to run on arm platforms

2 participants