Skip to content

Instantly share code, notes, and snippets.

@emachnic
Created February 2, 2016 19:35
Show Gist options
  • Save emachnic/3ef594fb75cc82c9d018 to your computer and use it in GitHub Desktop.
Save emachnic/3ef594fb75cc82c9d018 to your computer and use it in GitHub Desktop.
Unexpected token in chef-client.bat
$env:systemdrive\opscode\chef\bin\chef-client.bat --local-mode --config $env:TEMP\kitchen/client.rb --log_level debug --force-formatter --no-color --chef-zero-port 8889)
$$$$$$ At line:4 char:17
$$$$$$ + $env:systemdrive\opscode\chef\bin\chef-client.bat --local-mode --config
$$$$$$ $env:TEM ...
$$$$$$ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$$$$$$ Unexpected token '\opscode\chef\bin\chef-client.bat' in expression or
$$$$$$ statement.
$$$$$$ + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordEx
$$$$$$ ception
$$$$$$ + FullyQualifiedErrorId : UnexpectedToken
D Cleaning up local sandbox in /var/folders/lr/75rgvt957pg5jtq53v9cgbmwg0wq1z/T/default-win2012-r2-sandbox-20160202-47078-11knw78
Finished converging <default-win2012-r2> (0m4.83s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment