Describe the bug
When package installation failed, strange error sometimes appears in console. I can fix it manually, but it is some type of bug in my opinion.
Environment
- OS: Windows-11
- Compiler: visual c++ 2022
To Reproduce
Steps to reproduce the behavior:
- ./vcpkg install [any package]
- After installation failed
- The error occurs:
"
Error: while loading [any]:
The port directory (<vcpkg_dir>\ports[any]) does not exist
Error: failed to load port from <vcpkg_dir>\ports[any]
Note: Updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.
Repro code when
"
Expected behavior
A clear and concise description of what you expected to happen.
It doesn't have to see like that.
Failure logs
-(please attached failure logs)
Error: while loading [any]:
The port directory (<vcpkg_dir>\ports[any]) does not exist
Error: failed to load port from <vcpkg_dir>\ports[any]
Note: Updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.
Repro code when
Additional context
How i fix it manually:
- cd <vcpkg_dir>\installed\vcpkg
- open status. All installed package list is here.
- Find the failed package
- Remove it
- Save the file and close
- restart console (really close the window)
- back to work
Describe the bug
When package installation failed, strange error sometimes appears in console. I can fix it manually, but it is some type of bug in my opinion.
Environment
To Reproduce
Steps to reproduce the behavior:
"
Error: while loading [any]:
The port directory (<vcpkg_dir>\ports[any]) does not exist
Error: failed to load port from <vcpkg_dir>\ports[any]
Note: Updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.
Repro code when
"
Expected behavior
A clear and concise description of what you expected to happen.
It doesn't have to see like that.
Failure logs
-(please attached failure logs)
Error: while loading [any]:
The port directory (<vcpkg_dir>\ports[any]) does not exist
Error: failed to load port from <vcpkg_dir>\ports[any]
Note: Updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.
Repro code when
Additional context
How i fix it manually: