-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Describe the bug
lap-dart-run
failed with the following message and Debug session process exited with status: killed: 9
. This happens even if a device is set interactively once invoking the lap-dart-run
command. I tried Bothe macOS
and Chrome
as the device but had the same issue.
Checking for wireless devices...
More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
macOS (desktop) • macos • darwin-arm64 • macOS 15.0.1 24A348 darwin-arm64
Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.0.1 24A348 darwin-arm64
Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205
To Reproduce
Launch emacs with emacs -q
and evaluate the configuration code found in README
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(setq package-selected-packages
'(dart-mode lsp-mode lsp-dart lsp-treemacs flycheck company
;; Optional packages
lsp-ui company hover))
(when (cl-find-if-not #'package-installed-p package-selected-packages)
(package-refresh-contents)
(mapc #'package-install package-selected-packages))
(add-hook 'dart-mode-hook 'lsp)
(setq gc-cons-threshold (* 100 1024 1024)
read-process-output-max (* 1024 1024))
Then call lsp-dart-run
in the buffer of lib/main.dart
generated with flutter create test_project
Version
[LSP Dart] 1.24.3 at 2025.01.05 @ Emacs 29.4
[Dart SDK] Dart SDK version: 3.6.0 (stable) (Thu Dec 5 07:46:24 2024 -0800) on "macos_arm64"
[Flutter SDK] /opt/flutter/
[Flutter project] true
[Project entrypoint] /path/to/flutter/test_project/lib/main.dart
Metadata
Metadata
Assignees
Labels
No labels