-
Notifications
You must be signed in to change notification settings - Fork 229
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
Package Publish Fails (Possibly Involving Symlinks) #4057
Comments
I also downloaded the Dart SDK 3.2.0 and 3.2.1 standalone and ran this command and got the same error |
We don't support symlinks inside the package when publishing. #3143 In this case the package is just inside a symlinked folder? I would have thought that should work... Is it possible to create a reproduction? |
I'm not sure what's going on. I can reproduce it on my machine:
I get the same exception even though it is impossible to be in a symlink folder. There should also not be any symlinks in the repository. |
I'm also getting this error when trying to publish a new version of my package.
Windows 10 Source code: https://github.com/Correct-Syntax/get_storage_info |
Environment
dart --version
):3.2.0 (stable) (Tue Nov 14 18:26:59 2023 +0000) on "windows_x64"
Problem
I'm attempting to run
dart pub publish --dry-run
in my dart_holodex_api repo, but I am getting an error. I am using Puro here, but @pingbird was able to reproduce without puroExpected behavior
The publish command should work when symlinks are involved.
Actual behavior
The publish command seems to fail because of a symlink. @pingbird was able to reproduce it when the repo was inside a symlink (see pingbird/puro#61 (comment)), but that is still odd because I do not have the repo in a symlink.
PowerShell script to check for symlinks:
--trace output
pub_log.txt
The text was updated successfully, but these errors were encountered: