-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Missing .devcontainer template in v0.5.0 #35
Comments
@devblackops and other devs note that this issue seems to only occur installing from PowerShell Gallery, not if you build the module yourself. |
@devblackops any updates for this? |
Seems to be the same for the |
I've run into this, too. Can one just copy the .github template from 0.4.0 as a workaround? |
.vscode folder missing from psgallery pacakage too. |
I installed Stucco 0.5.0 from PS Gallery via Install-Module and had the same thing happen, but it was the template.github missing that caused the error. I was able to pull the project down from GitHub and build it, then looked at the Output\Stucco\0.5.0\template folder. It seems none of the folders starting with a period were in the version from PS Gallery. Copying them from my built version fixed the module for me. Maybe PS Gallery doesn't like "hidden dot" folders? |
Description
When running the
New-StuccoModule
cmdlet under the latest version0.5.0
, if you select to Include VSCode dev container support during the wizard, you will receive an error because there is no longer a.devcontainer
file in the module'stemplates/
directory:In Version 0.5.0 of the module, you have removed various files in the module's
templates/
directory. See below for a comparison of the installed module's contents comparing Version0.4.0
and0.5.0
:0.4.0
:0.5.0
:Steps to Reproduce
0.5.0
of theStucco
Module:Install-Module Stucco
>Import-Module Stucco
.New-StuccoModule -DestinationPath .\MyModule
Y
for the question: Do you want to include VSCode dev container support?Cannot find path <PSModulesDirectory>\Stucco\0.5.0\template\.devcontainer' because it does not exist.
Current Behavior
Receive error
Cannot find path <PSModulesDirectory>\Stucco\0.5.0\template\.devcontainer' because it does not exist.
Expected behavior
Cleanly create new modules.
Possible Solution
Add back missing templates files/folders.
Screenshots
Environment
0.5.0
Additional context
The text was updated successfully, but these errors were encountered: