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

Pickles.Powershell.dll was not loaded because no valid module file was found....... #112

Closed
cantillos opened this issue Feb 22, 2013 · 4 comments

Comments

@cantillos
Copy link

When installing Pickles via the NuGet console, I'm getting the following;

Import-Module : The specified module C:.....blah blah....\Pickles.0.8.0.0\tools\Pickles.Powershell.dll was not loaded because no valid module file was found in any module directory.
At: C:...blah....\packages\Pickles.0.8.0.0\tools\init.ps1:3 char:14
+Import-Module <<<< (Join-Path $toolsPath Pickles.Powershell.dll)
+CategoryInfo : ResourceUnavailable: (C:...Powershell.dll:String) [Import-Module], FileNotFoundException

It would appear to be trying to a non-existent file - sure enough when checking in the Pickles.0.8.0.0 folder, the file is not present.
NuGet finishes by stating "Pickles Installed" but when you try the Pickle-Features cmdlet it's not recognized.

I've managed to force it to work, by specifically importing the module PicklesDoc.Pickles.Powershell.dll

@sthiers
Copy link

sthiers commented Feb 25, 2013

same issue here:

  1. Install-Package Pickles -> get error msg The specified module 'D:...\packages\Pickles.0.8.0.0\tools\Pickles.PowerShell.dll' was not loaded because no valid module file was found in any module directory.
  2. Pickle-Features -> get error msg The term 'Pickle-Feature' is not recognized as the name of a cmdlet, function, script file, or operable program
  3. Import-Module D:...\packages\Pickles.0.8.0.0\tools\PicklesDoc.Pickles.PowerShell.dll -> warning about unapporved verbs
  4. Pickle-Features -> it works

@x97mdr
Copy link
Owner

x97mdr commented Feb 27, 2013

I'm leaving town on a short vacation. I'll have a look at this next week
when I return.

On Monday, February 25, 2013, sthiers wrote:

same issue here:

  1. Install-Package Pickles -> get error msg The specified module
    'D:...\packages\Pickles.0.8.0.0\tools\Pickles.PowerShell.dll' was not
    loaded because no valid module file was found in any module directory.
  2. Pickle-Features -> get error msg The term 'Pickle-Feature' is not
    recognized as the name of a cmdlet, function, script file, or operable
    program
  3. Import-Module
    D:...\packages\Pickles.0.8.0.0\tools\PicklesDoc.Pickles.PowerShell.dll ->
    warning about unapporved verbs
  4. Pickle-Features -W> it works


Reply to this email directly or view it on GitHubhttps://github.com//issues/112#issuecomment-14037682.

@x97mdr
Copy link
Owner

x97mdr commented Mar 7, 2013

Moved to picklesdoc#31

@x97mdr x97mdr closed this as completed Mar 7, 2013
@x97mdr
Copy link
Owner

x97mdr commented Mar 7, 2013

Issue was resolved. New version of package uploaded to the NuGet gallery. It should be available shortly

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