Running `azure site list` raises a TypeError

Steps:

azure account download
azure account import MyFile      (where MyFile is the downloaded publish file)
azure account list               (output is normal and correct)
azure site list
info:    Executing command site list
- Getting locationsinfo:    Executing command site list
+
+ Getting locations
| Getting locationserror:   Cannot read property 'length' of undefined
info:    Error information has been recorded to C:\Users\Me\.azure\azure.err
error:   site list command failed

      

The file azure.err

looks like this:

Thu Jul 02 2015 11:57:52 GMT-0400 (Eastern Daylight Time):
[TypeError: Cannot read property 'length' of undefined]
TypeError: Cannot read property 'length' of undefined
    at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\commands\asm\site._js:72:21
    at Interactor.__.extend.formatOutput (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\util\interaction.js:248:7)
    at AzureCli.<anonymous> (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\commands\asm\site._js:71:27)
    at AzureCli.<anonymous> (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\cli.js:216:12)
    at AzureCli.<anonymous> (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\node_modules\commander\lib\commander.js:235:8)
    at AzureCli.EventEmitter.emit (events.js:117:20)
    at AzureCli.Command.parseArgs (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\node_modules\commander\lib\commander.js:405:12)
    at AzureCli.Command.parse (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\node_modules\commander\lib\commander.js:351:15)
    at AzureCli.<anonymous> (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\cli.js:510:20)
    at AzureCli.EventEmitter.emit (events.js:95:17)

      

Any idea why this is happening?

+3
command-line azure


source to share


No one has answered this question yet

Check out similar questions:

862
List all environment variables from the command line
61
Azure SDK 2.5.1 cannot publish cloudService
2
Couldn't find Azure SDK v2.8 on Visual Studio 2015
1
Azure is not using the correct host version
1
Azure Multi tenant app not visible to some tenants
0
Error exitCode = -4071
0
Unhandled exception with Azure serviceBusService
0
How to run azure-cli commands from java
0
Generate azure hdinsight command line report with node.js command "Cannot call method" filter "undefined"
0
Azure Error :: No path to HOME



All Articles
Loading...
X
Show
Funny
Dev
Pics