Javinizer
Javinizer copied to clipboard
error occurred when run "Javinizer -v"
Javinizer : The 'Javinizer' command was found in the module 'Javinizer', but the module could not be loaded. For more i nformation, run 'Import-Module Javinizer'. At line:1 char:1
- Javinizer -v
-
+ CategoryInfo : ObjectNotFound: (Javinizer:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
when command "Import-Module Javinizer" runned, it replied:
Import-Module : Unable to dot source [C:\Program Files\WindowsPowerShell\Modules\Javinizer\2.5.10\Public\Get-TokyoHotUr l.ps1] At line:1 char:1
- Import-Module Javinizer
-
+ CategoryInfo : OperationStopped: (Unable to dot s...okyoHotUrl.ps1]:String) [Import-Module], RuntimeExc eption + FullyQualifiedErrorId : Unable to dot source [C:\Program Files\WindowsPowerShell\Modules\Javinizer\2.5.10\Public \Get-TokyoHotUrl.ps1],Microsoft.PowerShell.Commands.ImportModuleCommand
Also receiving this error.
You're not supposed to use Import-Module
. How are you installing Javinizer?
You're not supposed to use
Import-Module
. How are you installing Javinizer?
The first error message is telling us to run Import-Module. We've installed it the way the documentation told us to. Via
Install-Module Javinizer
If you've installed it with Install-Module
, you should be able to launch Javinizer
directly, without requiring an additional step of Import-Module
. Install-Module
and Import-Module
are mutually exclusive.
Just wanted to add a solution to the most common cause of this issue - at least with the current version of Windows PowerShell.
The requirement for Javinizer is Powershell 7, not the pre-installed Windows Powershell. Using the base Powershell will result in the above series of errors.