codegen theme autofac error

Topics: Customizing Orchard, Installing Orchard
Aug 23 at 5:06 PM
I've started my install with a pretty basic setup with no customizations. Downloaded and deployed the zip file, ran the browser setup, using a Sql Server DB, and chose the Blog Recipe. I enabled the Code Generation module. I'm trying to create a new theme based on TheThemeMachine. I run bin\orchard as an Administrator from the site root. When I run the command codegen theme LaBlog /BasedOn:TheThemeMachine, I get a weird exception. I've googled and searched but haven't found anything on resolving it. Any help would be appreciated. This is the error:

None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProx
y2.ConstructorFinderWrapper' on type 'Orchard.Security.Authorizer' can be invoke
d with the available services and parameters:
Cannot resolve parameter 'Orchard.Security.IAuthorizationService authorizationSe
rvice' of constructor 'Void .ctor(Orchard.Security.IAuthorizationService, Orchar
d.UI.Notify.INotifier, Orchard.IWorkContextAccessor)'.

Exception Details: Autofac.Core.DependencyResolutionException: None of the const
ructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFin
derWrapper' on type 'Orchard.Security.Authorizer' can be invoked with the availa
ble services and parameters:
Cannot resolve parameter 'Orchard.Security.IAuthorizationService authorizationSe
rvice' of constructor 'Void .ctor(Orchard.Security.IAuthorizationService, Orchar
d.UI.Notify.INotifier, Orchard.IWorkContextAccessor)'.