Skip to content
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

get Preparing modules for first use. when I use train on Windows #153

Closed
chris-rock opened this issue Sep 20, 2016 · 1 comment · Fixed by #152
Closed

get Preparing modules for first use. when I use train on Windows #153

chris-rock opened this issue Sep 20, 2016 · 1 comment · Fixed by #152
Labels
Type: Bug Feature not working as expected

Comments

@chris-rock
Copy link
Contributor

As we experienced in our own tests on appveyor, powershell throws a Preparing modules for first use.. The use of $ProgressPreference='SilentlyContinue'; is not solving the issue.

  2) Failure:
windows local command#test_0002_run echo test [test/windows/local_test.rb:33]:
--- expected
+++ actual
@@ -1,2 +1,3 @@
 # encoding: UTF-8
-""
+"#< CLIXML\r
+<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\"><Obj S=\"progress\" RefId=\"0\"><TN RefId=\"0\"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N=\"SourceId\">1</I64><PR N=\"Record\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S=\"progress\" RefId=\"1\"><TNRef RefId=\"0\" /><MS><I64 N=\"SourceId\">2</I64><PR N=\"Record\"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>
@chris-rock
Copy link
Contributor Author

As highlighted by @IlyaFinkelshteyn (THANKS APPVEYOR 💯 ) the real solution is to use powershell -NoProfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants