Barranger Ridler
Barranger Ridler

Reputation: 880

dnvm can't find latest version from nuget.org

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.

Upvotes: 10

Views: 1199

Answers (2)

Barranger Ridler
Barranger Ridler

Reputation: 880

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

Upvotes: 11

ankoh
ankoh

Reputation: 39

The packages will be available soon:

https://github.com/aspnet/dnvm/issues/235

Upvotes: 3

Related Questions