[英]Creating a Virtual machine using Azure command line tool for linux
Trying to use Azure command line tool for linux, 尝试针对Linux使用Azure命令行工具,
Below is the screen output when i am trying to create a vm. 下面是我尝试创建虚拟机时的屏幕输出。
path.existsSync is now called fs.existsSync
. path.existsSync现在称为fs.existsSync
。 info: Executing command vm create + Looking up image 信息:执行命令vm create +查找映像
+ Looking up cloud service +查找云服务
+ Creating cloud service +创建云服务
+ Retrieving storage accounts +检索存储帐户
tty.setRawMode: Use process.stdin.setRawMode()
instead. tty.setRawMode:改用process.stdin.setRawMode()
。 Enter VM 'cliusername' password: 输入VM的“用户名”密码:
At this stage,I entered the password and hit enter but nothing more happens.Also what is the message "tty.setRawMode: Use process.stdin.setRawMode()
instead." 在此阶段,我输入了密码并按回车键,但没有其他反应。此外,消息“ tty.setRawMode:请使用process.stdin.setRawMode()
代替。” that is shown on the screen.Plz help !!! 在屏幕上显示。请帮助!
After I had discussion with respective team, we figure it out that this problem is related to node.js v0.8 compatibility issue. 经过与各自团队的讨论,我们发现该问题与node.js v0.8兼容性问题有关。
It seems that you are running latest node version and the azure tool you installed using following command are not compatible with latest node v0.8: 似乎您正在运行最新的节点版本,并且使用以下命令安装的azure工具与最新的节点v0.8不兼容:
npm install azure --global
The fix is there in the DEV branch https://github.com/WindowsAzure/azure-sdk-for-node/ NOT in MASTER. 该修补程序位于DEV分支https://github.com/WindowsAzure/azure-sdk-for-node/中,而不是MASTER。 The package served from the npm repository is not updated with this. 从npm存储库提供的软件包不会与此更新。
For the time being you can create package from dev branch, for this: 目前,您可以从dev分支创建软件包,为此:
Create the package by running the command (Note: This will generate the file azure-0.6.1.tgz): 通过运行命令创建软件包(注意:这将生成文件azure-0.6.1.tgz):
npm pack NPM包
Install this package by running the command: 通过运行以下命令安装此软件包:
npm install azure-0.6.1.tgz --global npm install azure-0.6.1.tgz --global
This should solve your problem. 这应该可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.