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

[tool_crash] FileSystemException: Cannot create link, OS Error: Incorrect function., errno = 1 #132961

Closed
Lehieubkhn opened this issue Aug 21, 2023 · 2 comments
Labels
r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@Lehieubkhn
Copy link

Command

flutter pub add cloud_firestore

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

FileSystemException: Cannot create link, OS Error: Incorrect function.
, errno = 1

#0      _Link.throwIfError (dart:io/link.dart:254:7)
#1      _Link.createSync (dart:io/link.dart:182:5)
#2      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#3      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#4      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:1055:12)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:985:5)
#6      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1087:5)
<asynchronous suspension>
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:357:5)
<asynchronous suspension>
#8      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:337:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
�[32m[✓]�[39m Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.22621.2134], locale en-US)
    �[32m•�[39m Flutter version 3.13.0 on channel stable at D:\dev\flutter
    �[32m•�[39m Upstream repository https://github.com/flutter/flutter.git
    �[32m•�[39m Framework revision efbf63d9c6 (6 days ago), 2023-08-15 21:05:06 -0500
    �[32m•�[39m Engine revision 1ac611c64e
    �[32m•�[39m Dart version 3.1.0
    �[32m•�[39m DevTools version 2.25.0

�[32m[✓]�[39m Windows Version (Installed version of Windows is version 10 or higher)

�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    �[32m•�[39m Android SDK at C:\Users\Hieu Le Van\AppData\Local\Android\sdk
    �[32m•�[39m Platform android-34, build-tools 34.0.0
    �[32m•�[39m Java binary at: C:/Program Files/Android/Android Studio\jbr\bin\java
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    �[32m•�[39m All Android licenses accepted.

�[32m[✓]�[39m Chrome - develop for the web
    �[32m•�[39m Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

�[31m[✗]�[39m Visual Studio - develop Windows apps
    �[31m✗�[39m Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

�[32m[✓]�[39m Android Studio (version 2022.3)
    �[32m•�[39m Android Studio at C:/Program Files/Android/Android Studio
    �[32m•�[39m Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    �[32m•�[39m Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    �[32m•�[39m android-studio-dir = C:/Program Files/Android/Android Studio
    �[32m•�[39m Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

�[32m[✓]�[39m VS Code (version 1.81.1)
    �[32m•�[39m VS Code at C:\Users\Hieu Le Van\AppData\Local\Programs\Microsoft VS Code
    �[32m•�[39m Flutter extension version 3.70.0

�[32m[✓]�[39m Connected device (3 available)
    �[32m•�[39m Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.2134]
    �[32m•�[39m Chrome (web)      • chrome  • web-javascript • Google Chrome 115.0.5790.173
    �[32m•�[39m Edge (web)        • edge    • web-javascript • Microsoft Edge 115.0.1901.203

�[32m[✓]�[39m Network resources
    �[32m•�[39m All expected network resources are available.

�[33m!�[39m Doctor found issues in 1 category.

Flutter Application Metadata

Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: efbf63d

Plugins

cloud_firestore-4.8.5
cloud_firestore_web-3.6.4
firebase_auth-4.7.3
firebase_auth_web-5.6.3
firebase_core-2.15.1
firebase_core_web-2.7.0

@darshankawar darshankawar added the in triage Presently being triaged by the triage team label Aug 22, 2023
@darshankawar
Copy link
Member

Closing this as a duplicate of #66224

@darshankawar darshankawar closed this as not planned Won't fix, can't repro, duplicate, stale Aug 22, 2023
@darshankawar darshankawar added r: duplicate Issue is closed as a duplicate of an existing issue and removed in triage Presently being triaged by the triage team labels Aug 22, 2023
@github-actions
Copy link

github-actions bot commented Sep 5, 2023

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

2 participants