BladeFireLight / WindowsImageTools

PowerShell Tools creating and updating Windows Images
MIT License
112 stars 27 forks source link

Invalid module file #5

Closed drstonephd closed 5 years ago

drstonephd commented 5 years ago

Expected Behavior

I should be able to import the module.

Current Behavior

Error trying to import the module. import-module : The specified module 'WindowsImageTools' was not loaded because no valid module file was found in any module directory.

Possible Solution

Looks like the psm1 file is empty.

Steps to Reproduce (for bugs)

  1. Find-Module WindowsImageTools -Repository 'PSGallery' -verbose | Install-ModuleFromGitHub -verbose
  2. Import-Module WindowsImageTools

Context

This is my first attempt trying to get a module from GitHub. Could be me.

Your Environment

BladeFireLight commented 5 years ago

I have never used the install-modulefromgithub cmdlet but I'm positive it will not work. I just converted it the a Stucko template for plaster. and the .psm1 is blank. It uses a VS Code task to process all the ps1 files and merge to the psm1.

you can get 1.9.19 on the gallery. I just got it to publish (again from the Sucko template created VS Code Task.)

drstonephd commented 5 years ago

That was quick. Thanks. I will get it from the gallery.