When I deploy to Heroku, I get an error stating that my Nuget version is not up to date. When I checked my Nuget version from the command line, it was 6.2.1.2, and I don't have Microsoft.ClearScript.V8 7.2.1 installed locally. Therefore, I think the issue is that Heroku doesn't have the right Nuget version for the buildpack, but I'm not sure how to remedy this. Other buildpacks throw errors earlier on.
Full error output:
-----> Building on the Heroku-18 stack-----> Using buildpack: https://github.com/jincod/dotnetcore-buildpack#v2.1.300-----> ASP.NET Core app detectedInstalling dotnetpublish /tmp/build_ed54e936/RoundTheCode.GoogleAuthentication/RoundTheCode.GoogleAuthentication.csprojMicrosoft (R) Build Engine version 15.7.179.6572 for .NET CoreCopyright (C) Microsoft Corporation. All rights reserved. Restoring packages for /tmp/build_ed54e936/RoundTheCode.GoogleAuthentication/RoundTheCode.GoogleAuthentication.csproj.../tmp/build_ed54e936/.heroku/dotnet/sdk/2.1.300/NuGet.targets(114,5): error NU1401: The 'Microsoft.ClearScript.V8 7.2.1' package requires NuGet client version '4.9.0' or above, but the current NuGet version is '4.7.0'. To upgrade NuGet, please go to http://docs.nuget.org/consume/installing-nuget [/tmp/build_ed54e936/RoundTheCode.GoogleAuthentication/RoundTheCode.GoogleAuthentication.csproj] ! Push rejected, failed to compile ASP.NET Core app. ! Push failed