Errors when executing psake - psake.psm1:364

29 views
Skip to first unread message

kpr...@pch.com

unread,
Mar 6, 2014, 5:36:55 PM3/6/14
to psake...@googlegroups.com
Hi,

I've been using psake for our build system for quite some time without any issues on various OS/Bitness combinations however I've just been tasked with configuring a new Windows Server 2012 (64bit) build server and for some reason I am getting the following error when executing the build:


An Error Occurred:
The expression after '.' in a pipeline element produced a object that was not
valid. It must result in a command name, script block or CommandInfo object.
At
\\tools\psake\psake.psm1:364
char:11
+         . $MyInvocation.MyCommand.Module $initialization
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : BadExpression


On all of my other machines (Windows 7, Server 2003, Server 2008) the same scripts are working just fine.

The only other difference I can find about these machines is that the new one (Windows Server 2012) has Powershell V3 but I am really hoping that isn't the problem.

Does anyone have any information that could help?

Thanks.
Reply all
Reply to author
Forward
0 new messages