Comments (3)
that parameter changes where it looks for them. The RequiredModules.psd1 defines where to save them.
from commontasks.
Ok thanks...I guess I don't see the point of the -RequiredModulesDirectory parameter then.
from commontasks.
I tried your suggestion and changed the path for the output in RequiredModules.psd1.
Everything seems to work until the build tries to compress the modules:
ERROR: Cannot validate argument on parameter 'Name'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command
again.
At C:\Users\beardjo\repos_local\BECU.DSCDatum.POCLocal\RequiredModules\DscBuildHelpers\0.2.1\DscBuildHelpers.psm1:367 char:27
+ $AllDscResource = Get-DscResource
+ ~~~~~~~~~~~~~~~
At C:\Users\beardjo\repos_local\BECU.DSCDatum.POCLocal\RequiredModules\Sampler.DscPipeline\0.2.0\tasks\CompressModulesWithChecksum.build.ps1:35 char:1
+ task CompressModulesWithChecksum {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Build FAILED. 11 tasks, 1 errors, 0 warnings 00:12:05.8890476
Get-DscResource : Cannot validate argument on parameter 'Name'. The argument is null or empty. Provide an argument that is not null or empty, and then try
the command again.
At C:\Users\beardjo\repos_local\BECU.DSCDatum.POCLocal\RequiredModules\DscBuildHelpers\0.2.1\DscBuildHelpers.psm1:367 char:27
+ $AllDscResource = Get-DscResource
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-DscResource], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Get-DscResource
from commontasks.
Related Issues (20)
- [Cluster] QuorumResource is not used
- ADDSServicePrincipals: New resource proposal HOT 1
- Local build fails with errors HOT 4
- VirtualMemoryFiles: New resource proposal HOT 3
- Only a few resources are exported. HOT 3
- Error in publish_module_to_gallery task with Get-ChangeLogData
- WebSites: Binding infos not supported HOT 2
- Composite best practices: InstanceName HOT 3
- MmaAgent question HOT 1
- DSCR_FileContent: New resource proposal HOT 3
- RegistryPolicies: Error when `Key` or `ValueName` parameters contain bracket "()"
- The required module 'cScom' has additional dependencies to module 'AutomatedLab.Common' which is not part of the required module list.
- WindowsFeatures: Include additional parameters like Source
- Missing attribute description for some resources in the YAML documentation
- Maintenance Windows should support day in month
- All composite resources should be sorted in namespaces
- .\Build.ps1 -ResolveDependency, integration tests fail
- .\Build.ps1 -ResolveDependency, integration tests fail HOT 1
- Project License is not specified
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commontasks.