-->

Yeoman won't install because of 406 for 0.9.5.

2019-04-20 16:39发布

问题:

I tried npm install yeoman in linux mint 17 today and get the following error:

npm http 406 http://github.com/yeoman/generators/archive/0.9.5.tar.gz
npm ERR! fetch failed http://github.com/yeoman/generators/archive/0.9.5.tar.gz
npm ERR! Error: 406 Not Acceptable
npm ERR!   etc

It was working last time I installed a few weeks ago. This is a deal breaker for me today as I need this package.

My npm version is 1.3.10

Any ideas?

回答1:

I was able to fix this today. Previously, I believe that Yeoman was installed with npm install -g yeoman. Apparently, that has been deprecated. I was able to successfully install yeoman with npm 1.4.28 and node 0.10.32 by running sudo npm install -g yo. I found the answer by taking a look at their homepage again: http://yeoman.io/.



标签: npm yeoman