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

Please report symlink contents for Error: Missing file #2528

Open
jsoref opened this issue Jul 17, 2023 · 2 comments
Open

Please report symlink contents for Error: Missing file #2528

jsoref opened this issue Jul 17, 2023 · 2 comments

Comments

@jsoref
Copy link

jsoref commented Jul 17, 2023

A user reported:

↳ 

Error: Missing file 

8│                     

As it happened, the symlink included an absolute path to a location on a computer and was committed to git and was then used on a VM that didn't have that same path.

Has the error said:

Error: Could not resolve symlink (`foo-link` contents: `/Absolute/Path/ToFile.extension`)

They'd have immediately understood the problem.

@jsoref
Copy link
Author

jsoref commented Jul 17, 2023

See also #561

@Gabriella439
Copy link
Collaborator

Hmmm, I just tried to reproduce this and I don't get the same error. I did this:

$ touch foo
$ ln --symbolic foo bar
$ rm foo
$ dhall <<< './bar'
dhall: 
↳ ./bar

Error: Missing file ./bar

1│ ./bar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants