Plan file not found when running from Windows
p0rkjello opened this issue · 2 comments
p0rkjello commented
Does this need to be run from a linux workstation?
When running through the tutorial on Windows 10, PowerShell v5.1. Unable to build, looking for plan.ps1 and finding plan.sh.
➜ hab studio enter
hab-studio: Creating Studio at C:\
? Importing origin key from standard input
? Imported public origin key capgemini-20180912132012.
? Importing origin key from standard input
? Imported secret origin key capgemini-20180912132012.
hab-studio: Entering Studio at C:\
** The Habitat Supervisor has been started in the background.
** Use 'hab svc start' and 'hab svc stop' to start and stop services.
** Use the 'Get-SupervisorLog' command to stream the Supervisor log.
** Use the 'Stop-Supervisor' to terminate the Supervisor.
[HAB-STUDIO] Habitat:\src> build
_Exit-With : Plan file not found at C:\src\plan.ps1 or C:\src\habitat\plan.ps1
At C:\hab\pkgs\core\hab-studio\0.62.1\20180904173651\bin\hab-plan-build.ps1:2123 char:5
+ _Exit-With "Plan file not found at $places" 42
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,_Exit-With
[HAB-STUDIO] Habitat:\src> ls .\habitat\
Directory: C:\src\habitat
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 9/12/2018 9:21 AM config
d----- 9/12/2018 9:21 AM hooks
-a---- 9/12/2018 9:21 AM 358 default.toml
-a---- 9/12/2018 9:23 AM 2066 plan.sh
p0rkjello commented
Appears that I should be using docker w/ linux containers for this tutorial.
mwrock commented
correct. Make sure you "switch to linux containers..." and then hab studio enter
should open a linux based studio.