WindowsAzure/azure-sdk-tools — Issue #156: Publish-azureService fails with uninformative message when paths are too long for packaging
Author: markcowl
Created: 2012-02-10 22:30:30+00:00
State: open

This can occur in the node_modules chain if the chain goes too deep within a role. This occurs with the azure module if you install node_unit and node_inspector as part of the node_modules chain below the azure module.

Ideally, the tools would simply deal with any pathname length. At least an informative error message should be printed.

The current error is:

Publish-AzureService : Path for package doesn't exist in C:\aztest\sqqueue0101\
cloud_package.cspkg.
At line:1 char:21
+ Publish-AzureService <<<<
+ CategoryInfo : CloseError: (:) [Publish-AzureService], FileNotF
oundException
+ FullyQualifiedErrorId : AzureDeploymentCmdlets.Cmdlet.PublishAzureServic
eCommand