Azure Node.js Express App scaffold.xml Not Available

Follow the Microsoft Getting Started Guide to deploy Node.js Express as a cloud service.

After carefully installing all the tools on two machines, one Win 7 and one Win 8, I proceed to create "Hello World", and the tutorial suggests launching the intuitively named helloworld: New-AzureServiceProject in Windows PowerShell.

Here's what happens:

PS C: \ node> New-AzureServiceProject helloworld New-AzureServiceProject: could not find part of the path "C: \ Program Files (x86) \ Microsoft SDKs \ Azure \ PowerShell \ ResourceManager \ AzureResourceManager \ AzureRM.Profile \ Resources \ Scaffolding \ General \ scaffold.xml. By line: 1 char: 1 + New-AzureServiceProject expressapp + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ + CategoryInfo: CloseError: (:) [New-AzureServiceProject], DirectoryNotFoundException + FullyQualifiedErrorId :. Microsoft Windows.

After looking at my system after installing Powershell and the Azure SDK according to the instructions, I have a directory:

C: \ Program Files (x86) \ Microsoft SDK \ Azure \ PowerShell \ ResourceManager \ AzureResourceManager \ AzureRM.Profile

However , the Resources subdirectory is NOT in this directory and therefore it never finds the scaffold.xml ....

I tried to create a Resources \ Scaffolding \ General subdirectory inside AzureRM.profile. This changed the error to simply "could not find scaffold.xml"

I tried to set wide open recording positions in the "General" section. Without changes.

The above error is on Win 8. On my Win 7 machine, after a more thorough understanding of the installation and switching to several layers in the prerequisites not mentioned in the tutorial, AzureRM.Profile ends in C: \ Program Files \ C: \ Program Files \ WindowsPowerShell \ Modules, not in C: \ Program Files (x86) \ Microsoft SDK \ Azure \ PowerShell \ ResourceManager \ AzureResourceManager, but the behavior is identical.

scaffold.xml, . , New-AzureServiceProject ? , New-AzureServiceProject?

...

!

+4
5

,
C:\Program Files (x86)\Microsoft SDK\Azure\PowerShell\ServiceManagement\Azure\Services\Resources

C:\Program Files (x86)\Microsoft SDK\Azure\PowerShell\ResourceManager\AzureResourceManager\AzureRM.Profile

+9

:

C:\Program Files\WindowsPowerShell\Modules\Azure\3.1.0\Compute

C:\Program Files\WindowsPowerShell\Modules\AzureRM.profile\2.3.0\Resources\Scaffolding\General

+2

PowerShell, , powershell AzureRM.*.

Windows PowerShell, :

PS C:\> Install-Module AzureRM
PS C:\> Install-AzureRM

New-AzureServiceProject helloworld .

, node.js Azure Web Apps, " Azure" .

0

. Azure PowerShell. , , - MSI WebPI, " ", - "Microsoft Azure PowerShell".

- RDFE (Service Management) Azure. , , "Azure", "AzureRM".

, Web Platform MSI, GitHub. PowerShell Gallery - , PowerShell.

. , azure powershell sdk, , , .

0

C: \ Program Files \ WindowsPowerShell \ Modules \ Azure \ 4.3.1 \ Services \ Resources \ Scaffolding \ General

For

C: \ Program Files \ WindowsPowerShell \ Modules \ AzureRM.profile \ 3.3.1 \ Resources \ Scaffolding \ General

0
source

All Articles