Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dnvm can't find latest version from nuget.org

Tags:

macos

dnx

Going through the steps of setting up dnvm on OSX and I can't seem to get past the dnvm upgrade step as it's returning the error:

~$ dnvm upgrade
Determining latest version
Error: Could not find latest version from feed https://nuget.org/api/v2

I can install based off the unstable feed using -u however then I run into a whole new set of issues.

like image 417
Barranger Ridler Avatar asked Apr 29 '15 19:04

Barranger Ridler


1 Answers

This actually is caused by dnvm not following a redirect to www.nuget.org (instead of without the www). It is fixed with the following line:

export DNX_FEED=https://www.nuget.org/api/v2

Hope that helps

like image 141
Barranger Ridler Avatar answered Oct 17 '22 20:10

Barranger Ridler