Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerClippy.Format.ps1xml is empty #2

Open
devblackops opened this issue Apr 1, 2016 · 2 comments
Open

PowerClippy.Format.ps1xml is empty #2

devblackops opened this issue Apr 1, 2016 · 2 comments

Comments

@devblackops
Copy link

PowerClippy.Format.ps1xml is an empty file and throws an error on import.

VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\powerclippy\1.0\powerclippy.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\WindowsPowerShell\Modules\powerclippy\1.0\PowerClippy.Format.ps1xml'.
import-module : Object reference not set to an instance of an object.
At line:1 char:1
+ import-module powerclippy -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-Module], NullReferenceException
    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
@Technohazard
Copy link

Same issue, ignores my attempts to Import-Module and throws similar exception

VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\PowerClippy\PowerClippy.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program
Files\WindowsPowerShell\Modules\PowerClippy\PowerClippy.Format.ps1xml'.
Import-Module : Object reference not set to an instance of an object.
At line:1 char:1
+ Import-Module PowerClippy -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-Module], NullReferenceException
    + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand

@nickrod518
Copy link
Contributor

Commenting out the line that imports that ps1xml file resolves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants