-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I installed secure-file successfully in my vs project. But when I runthe command to encrypt a file, I get the next error message:
PM> secure-file\tools\secure-file -encrypt <file-path> -secret MYSECRET1234
secure-file\tools\secure-file : The module 'secure-file' could not be loaded. For more information, run
'Import-Module secure-file'.
At line:1 char:1
+ secure-file\tools\secure-file -encrypt <file-path> -secret MYSECR ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (secure-file\tools\secure-file:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
As the error message suggests, I decided to run Import-Module secure-file, and this is what I got:
PM> Import-Module secure-file
Import-Module : The specified module 'secure-file' was not loaded because no valid module file was found in any
module directory.
At line:1 char:1
+ Import-Module secure-file
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (secure-file:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Does anybody have an idea on why this is happening and what can I do?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels