最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】在Windows Azure上开发Node.js的app

Node.js crifan 4558浏览 0评论

1.别人已经帮忙建立好了Node.js

2.在微软的Azure上找了半天,找到了:

http://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-%28mac%29/

去参考此教程,去创建app。

3.最后结果是,不论是clone还是commit,都是出现验证失败,好像是密码错了:

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git clone --recursive https://xxxxxxxxxxxx.azurewebsites.net
Cloning into 'xxxxxxxxxxxx.azurewebsites.net'...
Password for 'https://xxxxxxxxxxxx.azurewebsites.net':
fatal: Authentication failed

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git init
Initialized empty Git repository in /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root/.git/

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git add .

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git commit -m "initial commit"
[master (root-commit) ed1cae2] initial commit
 Committer: U-MM\CLi <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email [email protected]

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 1 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100755 server.js

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git remote add azure https://xxxxxxxxxxxx.azurewebsites.net/xxx.git

CLi@PC-CLI-1 /cygdrive/d/tmp/tmp_dev_root/freelance/elance/Node.js/git_root
$ git push azure master
Password for 'https://xxxxxxxxxxxx.azurewebsites.net':
fatal: Authentication failed

4.

转载请注明:在路上 » 【记录】在Windows Azure上开发Node.js的app

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.176 seconds, using 22.14MB memory