[GH-ISSUE #38] [Bug] Error: Not found: 'dart:ffi' #19

Closed
opened 2026-03-23 20:30:34 +00:00 by mirror · 1 comment
Owner

Originally created by @xurenda on GitHub (Nov 19, 2021).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/38

When I followed the steps in Readme and tried to run the project, I got the error: Error: Not found: 'dart:ffi'

Here are the detailed error messages:

Launching lib/main.dart on Chrome in debug mode...
packages/flowy_sdk/lib/flowy_sdk.dart:6:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
packages/flowy_sdk/lib/dispatch/dispatch.dart:1:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
packages/flowy_sdk/lib/rust_stream.dart:4:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
packages/flowy_sdk/lib/ffi.dart:3:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/utf8.dart:6:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/utf16.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^
Waiting for connection from debug service on Chrome...    

What should I do, thanks for your help.

Originally created by @xurenda on GitHub (Nov 19, 2021). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/38 When I followed the steps in [Readme](https://github.com/AppFlowy-IO/appflowy#getting-started) and tried to run the project, I got the error: `Error: Not found: 'dart:ffi'` > Here are the detailed error messages: ``` Launching lib/main.dart on Chrome in debug mode... packages/flowy_sdk/lib/flowy_sdk.dart:6:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ packages/flowy_sdk/lib/dispatch/dispatch.dart:1:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ packages/flowy_sdk/lib/rust_stream.dart:4:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ packages/flowy_sdk/lib/ffi.dart:3:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ ../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ ../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/arena.dart:8:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ ../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/utf8.dart:6:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ ../../../../flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-1.1.2/lib/src/utf16.dart:5:8: Error: Not found: 'dart:ffi' import 'dart:ffi'; ^ Waiting for connection from debug service on Chrome... ``` What should I do, thanks for your help.
Author
Owner

@appflowy commented on GitHub (Nov 19, 2021):

Flutter Web is not supported in AppFlowy. Please switch to the desktop device.
image

<!-- gh-comment-id:974483076 --> @appflowy commented on GitHub (Nov 19, 2021): Flutter Web is not supported in AppFlowy. Please switch to the desktop device. ![image](https://user-images.githubusercontent.com/86001920/142693629-2ed09abd-ef95-456f-96fa-a7a8ca782cd1.png)
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#19
No description provided.