try icon indicating copy to clipboard operation
try copied to clipboard

A JSON parsing exception occurred in Syntax error: Malformed token dotnet-try

Open abdou31 opened this issue 4 years ago • 0 comments

Did this error occur while using dotnet try or online?

  • [x] dotnet-try

What kind of error was it?

  • [x] Service Error: For example "The service is temporarily unavailable. We are working on it"

Please complete the following:

  • OS
    • [x] Windows 10

Hello, I have cloned this repo https://github.com/dotnet/try in order to test samples, I installed dotnet-try using this command:

dotnet tool install --global dotnet-try

When I move to the Samples folder and try this command:

D:\try\Samples> dotnet try

I got this error :

A JSON parsing exception occurred in [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.14\Microsoft.AspNetCore.App.runtimeconfig.json]: * Line 1, Column 2 Syntax error: Malformed token Invalid framework config.json [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.14\Microsoft.AspNetCore.App.runtimeconfig.json]

What can I do to fix this error?

abdou31 avatar May 12 '21 16:05 abdou31