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

fix: FileSystemException: Cannot resolve symbolic links #269

Closed
1 task done
jhlabs opened this issue Mar 31, 2022 · 0 comments · Fixed by #280
Closed
1 task done

fix: FileSystemException: Cannot resolve symbolic links #269

jhlabs opened this issue Mar 31, 2022 · 0 comments · Fixed by #280
Assignees
Labels
bug Something isn't working Needs: Triage The issue needs triaging

Comments

@jhlabs
Copy link

jhlabs commented Mar 31, 2022

Is there an existing issue for this?

  • I have searched the existing issues.

Version

1.5.2

Description

First of all, melos is a great package and it has already improved my workflow!

Whenever I build my macOS Flutter app all melos commands in my workspace fail with the following error:

Unhandled exception:
FileSystemException: Cannot resolve symbolic links, path = '/Users/johannes/dev/arro/packages/app/build/macos/Build/Products/Debug/PromisesObjC/FBLPromises.framework/PrivateHeaders/PrivateHeaders' (OS Error: No such file or directory, errno = 2)
#0      FileSystemEntity.resolveSymbolicLinks.<anonymous closure> (dart:io/file_system_entity.dart:318:9)
<asynchronous suspension>
#1      DirectoryUtils.listConditionallyRecursive.recurse (package:melos/src/common/utils.dart:393:37)
<asynchronous suspension>

When I run flutter clean that removes the flutter macOS build everything works fine again.

Steps to reproduce

  1. Add a Flutter app with a macOS build into your melos workspace
  2. Build the flutter app in debug mode for macOS
  3. Run any melos command afterwards

Expected behavior

The melos command should run without having to clean the build.

Screenshots

No response

Additional context and comments

No response

@jhlabs jhlabs added bug Something isn't working Needs: Triage The issue needs triaging labels Mar 31, 2022
@blaugold blaugold self-assigned this Apr 22, 2022
blaugold added a commit to blaugold/melos that referenced this issue Apr 22, 2022
Salakar pushed a commit that referenced this issue Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs: Triage The issue needs triaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants