You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you are able to repro it on the latest version
Search the existing issues.
Summary
dsc will look it it's home directory for resource manifests, but then fails to find the executable since it's not actually in PATH
Steps to reproduce
build.ps1
./bin/debug/dsc -l trace config test -p ./dsc/examples/osinfo_parameters.dsc.yaml
Expected behavior
This should succeed
Actual behavior
2024-07-18T20:23:02.440983Z ERROR dsc::subcommand: 137: Error: IO: No such file or directory (os error 2)
This is because although the osinfo resource is found, the osinfo executable isn't found.
dsc should add it's home directory to PATH (if not already there, probably at the end) so that the included resource exes get found on startup.
Discovery should be updated to not look in home directory and just use the new PATH
Error details
No response
Environment data
Name Value
---------
PSVersion 7.5.0-preview.3
PSEdition Core
GitCommitId 7.5.0-preview.3
OS Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 120:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103
Platform Unix
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
dsc 3.0.0-preview.8
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Summary
dsc
will look it it's home directory for resource manifests, but then fails to find the executable since it's not actually inPATH
Steps to reproduce
Expected behavior
This should succeed
Actual behavior
2024-07-18T20:23:02.440983Z ERROR dsc::subcommand: 137: Error: IO: No such file or directory (os error 2)
This is because although the
osinfo
resource is found, theosinfo
executable isn't found.dsc
should add it's home directory toPATH
(if not already there, probably at the end) so that the included resource exes get found on startup.Discovery should be updated to not look in home directory and just use the new
PATH
Error details
No response
Environment data
Version
dsc 3.0.0-preview.8
Visuals
No response
The text was updated successfully, but these errors were encountered: