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

Can example[main.dart] run on Chrome device? #142

Open
danyuhao opened this issue Nov 8, 2022 · 1 comment
Open

Can example[main.dart] run on Chrome device? #142

danyuhao opened this issue Nov 8, 2022 · 1 comment

Comments

@danyuhao
Copy link

danyuhao commented Nov 8, 2022

After download this package,i try to run the examples(xterm.dart-master\example\lib) in vscode on windows 10.
The running of main.dart passed when i select windows device, but failed when device changed to chrome, and i get compile errors like this:

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pty-0.3.1/lib/flutter_pty.dart:2:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
       ^

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pty-0.3.1/lib/src/flutter_pty_bindings_generated.dart:9:8: Error: Not found: 'dart:ffi'
import 'dart:ffi' as ffi;
       ^

/D:/flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.0.1/lib/src/allocation.dart:5:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';

...

@ganeshchenniah
Copy link

Hi ,

Is there any update on this issue ? i m also facing same issue .

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

No branches or pull requests

2 participants