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

Build problems macOS on arm64 #550

Open
lucafaggianelli opened this issue May 1, 2023 · 1 comment
Open

Build problems macOS on arm64 #550

lucafaggianelli opened this issue May 1, 2023 · 1 comment
Labels
S-needs-triage Status: Needs triage T-bug Something isn't working the way it is supposed to

Comments

@lucafaggianelli
Copy link

Describe the bug
This looks a very interesting project, though I wasn't able to run dim on my system, I have a macbook with apple M1 chip, so it's macos on arm arch and this are the problems:

  1. The prebuilt bins are just for linux.
  2. I can't build from sources.

Build problems

Frontend

the node-sass package is deprecated and it doesn't install at all given the node-sass version and my arch.
This was easy to fix, I just installed the sass package and removed node-sass from package.json.

Moreover having the yarn.lock in the root and package.json in the subfolder causes a bit of troubles when installing packages,
I needed to move yarn.lock into the frontend folder.

Rust

Can't build the backend as I get many issues about the Cargo.toml files and the workspace.package.authors, it says it can't inherit the value from the parent Cargo.toml file

To Reproduce
Steps to reproduce the behavior:

  1. download the prebuilt bins from Github and try to run it, it doesn't work
  2. try to compile following the instructions on the README, it doesn't compile

Expected behavior
To be able to run from binaries

or to be able to compile

Device and browser including versions:
macOS: 13.2.1 (22D68), Apple M1 chip (arm64)

@lucafaggianelli lucafaggianelli added S-needs-triage Status: Needs triage T-bug Something isn't working the way it is supposed to labels May 1, 2023
@brandonros
Copy link
Contributor

#565 try this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-needs-triage Status: Needs triage T-bug Something isn't working the way it is supposed to
Projects
None yet
Development

No branches or pull requests

2 participants