Skip to content

🪲[Bug]: Powershell script broken #121

@Daedalus007

Description

@Daedalus007

Describe the bug

Your powershell script is broken

At %USERPROFILE%\Documents\WindowsPowerShell\Modules\GoogleFonts\1.0.91\GoogleFonts.psm1:86 char:29
+ function Install-GoogleFont {
+                             ~
Missing closing '}' in statement block or type definition.
At %USERPROFILE%\Documents\WindowsPowerShell\Modules\GoogleFonts\1.0.91\GoogleFonts.psm1:211 char:1
+ }
+ ~
Unexpected token '}' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEndCurlyBrace

Import-Module : The module to process 'GoogleFonts.psm1', listed in field 'ModuleToProcess/RootModule' of module
manifest '%USERPROFILE%\Documents\WindowsPowerShell\Modules\GoogleFonts\1.0.91\GoogleFonts.psd1' was not
processed because no valid module was found in any module directory.
At line:1 char:1
+ Import-Module GoogleFonts
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (GoogleFonts:String) [Import-Module], PSInvalidOperationException
    + FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Please fix it tyvm.

Version information

The latest one as of Dec 8th 2025

To reproduce

1 - Follow install instructions
2 - Try to import module
3 - Get above error

Code snippet

See above

Relevant output

See above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions