Skip to content

[BUG] attempt to index local 'data' (a nil value) #434

@JordanllHarper

Description

@JordanllHarper

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On invoking a FlutterRun, if there is any error, I receive the following error:

Image

Expected Behavior

This error shouldn't occur. If anything goes wrong, it should exit gracefully (or error with a more descriptive error message).

Steps To Reproduce

Prereq: Quit all emulators and connected devices.

Steps:

  1. Create a new flutter project and cd into it
  2. Open Neovim
  3. Run FlutterRun. In the log, flutter should try to look for wireless devices.
  4. An error should occur as described above.

Environment

- OS: OSX
- Flutter version: 3.22.3
- Is flutter in $PATH: No - FVM
- neovim version: 0.11.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions