Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howto start your demo #5

Open
Phmichau opened this issue Apr 29, 2021 · 5 comments
Open

Howto start your demo #5

Phmichau opened this issue Apr 29, 2021 · 5 comments

Comments

@Phmichau
Copy link

Hi

I try to start you demo but nothing

@mchilicki
Copy link
Contributor

Could you tell us what is wrong for you, some error message or anything? Are you using Visual Studio 2019 with ASP.NET Core libraries installed?
Is newly created Blazor project is starting for you?

@ledpup
Copy link

ledpup commented Dec 13, 2021

The error message I get is:

System.Text.Json.JsonException: ''<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.'

This is in Visual Studio 2022 Community Edition. Both the projects build fine.

Cryptic error message...

@petermarshall
Copy link

petermarshall commented Dec 13, 2021 via email

@P33tr
Copy link

P33tr commented Dec 13, 2021

Make sure the api endpoint you are calling is working. That is an html error message comming back from a json endpoint.

@ledpup
Copy link

ledpup commented Dec 13, 2021

No, it's not my API. I'm just describing what I get when I run the FisSst.BlazorMaps.Examples project from VS 2022 after cloning from the repo. I haven't made a change to any of the code after pulling the repo. Just built and run the examples project.

In my own codebase, I have the BlazorMaps component working just fine. Got the map, markers, zoom, translation, etc. all working well.

I think there is something different in the examples project. I just tried update to .net 6, updated a few of the libraries in NuGet. Still no good.

Doesn't bother me too much. I can just read the examples anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants