0

First of all I looked into [this][1] post for possible workaround but unfortunately there is none.

My issue is somewhat closer but steps I went through are different so I decided to put up my question in a new thread.

My requirements were:

  1. Installing ASP.NET 5 but I did not want to install full VS 2015 rather I went for DNVM (Dot Net Version Manager) and DNX (NET Execution Environment). This post says we can install from Command Line tool so I used this.

  2. Installing Code for Visual Studio which I did

  3. Installing a aspnet-generator using yo which I did using the following command: npm install -g yo generator-aspnet but ended up with some error messages. Please see screenshot below:

enter image description here

  1. Even I got above errors I went on and ran yo aspnet which was supposed to give me choice of what type of application I want to create etc. But here I ended up with errors again. Please see screenshot below:

enter image description here

I googled a lot but nothing looked suitable or closer to my issue. I don't want to play with Windows Registry.

I am completely screwed up with this problem :( Somebody please show me the right path and help me out of this stand-still situation.

Thank you

4

1 回答 1

0

不幸的是,这是 npm 的一个错误。这是通常的故障排除:

  1. 确保您使用的是最新的 npm 版本
  2. 删除 node_modules 文件夹并重试安装

如果这不能解决问题,那么您应该在 npm 错误跟踪器上打开一个问题。

于 2015-12-09T01:05:27.257 回答