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
I'm repurposing the dscworkshop project to create linux configuration files as well. Since I'm running the build on a linux computer, the path is case sensitive. The Sampler.DscPipline.psd1 won't import due to tasks\* , being lowercase.
Verbose logs
Importing tasks from module Sampler.DscPipeline
Get-ChildItem: Cannot find path '/home/ricky/git/NixConfigs/output/RequiredModules/Sampler.DscPipeline/0.2.0/tasks' because it
does not exist.
Adding Workflow from configuration:
+-> pack
+-> build
+-> rsop
+-> .
[build] Executing requested workflow: .
ERROR: Task 'build': Missing task 'LoadDatumConfigData'.
At /home/ricky/git/NixConfigs/build.ps1:331 char:13
+ task $workflow $workflowItem
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Build ABORTED /home/ricky/git/NixConfigs/build.ps1. 0 tasks, 1 errors, 0 warnings 00:00:00.4484694
Invoke-Build.ps1: /home/ricky/git/NixConfigs/build.ps1:511:9
Line |
511 | Invoke-Build @PSBoundParameters -Task $Tasks -File $MyInvocat …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Task 'build': Missing task 'LoadDatumConfigData'. At /home/ricky/git/NixConfigs/build.ps1:331 char:13 +
| task $workflow $workflowItem + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PowerShell version and build the target node is running
Name Value
---- -----
PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Pop!_OS 22.04 LTS
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Sampler.DscPipeline version
Name Version Path
---- ------- ----
Sampler.DscPipeline 0.2.0 /home/ricky/git/NixConfigs/output/RequiredModules/Sampler.DscPipeline/0.2.0/Sampler.DscPipeline.psd1
The text was updated successfully, but these errors were encountered:
Problem description
I'm repurposing the dscworkshop project to create linux configuration files as well. Since I'm running the build on a linux computer, the path is case sensitive. The Sampler.DscPipline.psd1 won't import due to
tasks\*
, being lowercase.Verbose logs
DSC configuration
N/A
Suggested solution
Current Configuration
Suggested Fix
tasks
childpath toTasks
so it matches the folder name. After the change, the build completes as normal.Operating system the target node is running
PowerShell version and build the target node is running
Sampler.DscPipeline version
The text was updated successfully, but these errors were encountered: