[GH-ISSUE #2264] [Bug] Unable to run tests of Mac M1 chip #936

Closed
opened 2026-03-23 20:43:19 +00:00 by mirror · 0 comments
Owner

Originally created by @Samiksha-Garg on GitHub (Apr 15, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2264

Originally assigned to: @Samiksha-Garg on GitHub.

Bug Description

When trying to run unit tests, getting error Failed to load dynamic library: Incompatible architecture., and subsequently resulting in failing of lot of tests.

How to Reproduce

Open terminal at the root of the project and run following commands:

  • cd frontend
  • cargo make dart_unit_test

Expected Behavior

Tests should be able to run without any error.

Operating System

MacOS M1

AppFlowy Version(s)

0.1.2

Screenshots

Screenshot 2023-04-14 at 4 17 58 PM Screenshot 2023-04-14 at 4 17 32 PM

Additional Context

No response

Originally created by @Samiksha-Garg on GitHub (Apr 15, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2264 Originally assigned to: @Samiksha-Garg on GitHub. ### Bug Description When trying to run unit tests, getting error `Failed to load dynamic library: Incompatible architecture.`, and subsequently resulting in failing of lot of tests. ### How to Reproduce Open terminal at the root of the project and run following commands: - `cd frontend` - `cargo make dart_unit_test` ### Expected Behavior Tests should be able to run without any error. ### Operating System MacOS M1 ### AppFlowy Version(s) 0.1.2 ### Screenshots <img width="1018" alt="Screenshot 2023-04-14 at 4 17 58 PM" src="https://user-images.githubusercontent.com/79906086/232226119-4bac0d71-b885-4fd0-9caa-0482a8c2609e.png"> <img width="1021" alt="Screenshot 2023-04-14 at 4 17 32 PM" src="https://user-images.githubusercontent.com/79906086/232226122-2221f7c2-7f46-40b8-8561-eb9bb9d8974c.png"> ### Additional Context _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#936
No description provided.