DTW-DanWard / PowerShell-Beautifier

A whitespace reformatter and code cleaner for Windows PowerShell and PowerShell Core
MIT License
333 stars 38 forks source link

import-module returns Error. #58

Open NicTanghe opened 4 years ago

NicTanghe commented 4 years ago

Hello i'm using powershell 7. here's what i tried.


> Install-Module -Name PowerShell-Beautifier

> Import-Module .\PowerShell-Beautifier.psd1
Import-Module: The specified module '.\PowerShell-Beautifier.psd1' was not loaded because no valid module file was found in any module directory.

my module folder also didnt contain anything new.

NicTanghe commented 4 years ago

works fine if i get it from git and import it from there.

wjandrea commented 3 years ago

This seems to be a documentation issue per #54. Try this instead:

Import-Module PowerShell-Beautifier