Not able to package Modules

Topics: Core
Apr 20 at 7:32 AM
I would like to export different modules to a new server. I've been able to export all of the themes associated using the "package create -themename- -location-" in the orchard.exe command line tool. When i try to do this with any of the modules however, i get an error message:

"Cannot create a package that has no dependencies nor content.
Exception Details: System.InvalidOperationException: Cannot create a package tha
t has no dependencies nor content.

Stack Trace:

[InvalidOperationException: Cannot create a package that has no dependencies nor
content.]
at NuGet.PackageBuilder.Save(Stream stream)
at Orchard.Packaging.Services.PackageBuilder.BuildPackage(ExtensionDescriptor
extensionDescriptor)
at Orchard.Packaging.Services.PackageManager.Harvest(String extensionName)
at Orchard.Packaging.Commands.PackagingCommands.CreatePackage(String extensio
nName, String path)"

I googled this error message and found 1 toppic discussing this error: "http://stackoverflow.com/questions/24299161/orchard-cms-packaging-theme-module-fail-cannot-create-a-package-that-has-no-de". There someone suggests it could be the version number. I checked this however, and te version number seems fine.

I am trying to export from orchard 1.7.2.0