Common Issues
Module imports but commands are missing
Make sure you imported the built PowerShell module manifest, not only the project directory.
Generation fails because catalog content is missing
Verify the default catalog path exists or explicitly pass -CatalogRootPath.
Scenario validation fails unexpectedly
Run:
Test-SEScenario -Path .\scenario.json
Then fix the validation errors before generation.
Plugin discovery does not find your plugin
Start with:
Get-SEGenerationPlugin -PluginRootPath .\plugins
and verify the manifest, capability declaration, and trust settings.
A plugin is skipped with "not in the allowed hash list"
Generation still succeeds, but the plugin's records are absent. The reason is in the warnings, not in the terminal output:
$world = New-SEEnterpriseWorld -ScenarioPath .\scenario.json -Seed 4242 -UseRegisteredPlugins
$world.Warnings
If this started right after a DataGen upgrade, the usual cause is that the approval was made under the previous version. An approval pins the built plugin, and for a binary plugin the hash includes the DataGen assemblies your build copies next to it, so rebuilding against a new DataGen version changes the hash on its own. Re-approve:
Get-SEGenerationPlugin -PluginRootPath .\plugins -AllowAssemblyPlugins | Select-Object Capability, ContentHash
Register-SEGenerationPlugin -PluginRootPath .\plugins -AllowAssemblyPlugins
A rebuild is not the only cause — an edited, replaced, or tampered package looks the same from the outside. Confirm the package is the one you intend to run before re-approving it. See Binary Plugin Guide.
Export output is unexpectedly sparse
Check:
- the scenario itself
- whether optional surfaces such as CMDB were enabled
- the selected export profile
Docs site build issues
From website:
npm install
npm run build
If the build breaks on links, Docusaurus is usually telling you exactly which page needs a path fix.