Skip to content

[flutter_tools] PathNotFoundException on delete operation during flutter pub get #137168

Closed

Description

@eliasyishak

Version: stable/3.13.8
Command: flutter pub get

PathNotFoundException: PathNotFoundException: Deletion failed, path = 'D:\Flutter Project\Flutter Project\skyline\windows\flutter\ephemeral\.plugin_symlinks' (OS Error: The system cannot find the path specified.
, errno = 3)
at _Directory._deleteSync(directory_impl.dart:193)
at FileSystemEntity.deleteSync(file_system_entity.dart:424)
at ForwardingFileSystemEntity.deleteSync(forwarding_file_system_entity.dart:70)
at ErrorHandlingDirectory.deleteSync.<anonymous closure>(error_handling_io.dart:481)
at _runSync(error_handling_io.dart:590)
at ErrorHandlingDirectory.deleteSync(error_handling_io.dart:480)
at _createPlatformPluginSymlinks(flutter_plugins.dart:1041)
at createPluginSymlinks(flutter_plugins.dart:985)
at refreshPluginsList(flutter_plugins.dart:1087)
at <asynchronous gap>(async)
at FlutterProject.ensureReadyForPlatformSpecificTooling(project.dart:357)
at <asynchronous gap>(async)
at PackagesGetCommand.runCommand(packages.dart:337)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1297)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:339)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:285)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:115)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:90)
at <asynchronous gap>(async)

Activity

  1. added
    P2Important issues not at the top of the work list
    team-toolOwned by Flutter Tool team
    triaged-toolTriaged by Flutter Tool team
    on Oct 24, 2023
  2. github-actions commented on Jul 16, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions