AspNetMonsters / Blazor.Geolocation

Blazor interop for browers Geolocation apis
MIT License
91 stars 25 forks source link

error when initializing #17

Closed drma-tech closed 3 years ago

drma-tech commented 4 years ago

I am using the latest stable version of blazor.

when installing the latest stable version of this component, it generates an unknown error.

when installing the latest beta, the following error occurs:

Could not find 'AspNetMonsters' in 'window'. Error: Could not find 'AspNetMonsters' in 'window'. at https://localhost:44313/_framework/blazor.server.js:8:30748 at Array.forEach () at p (https://localhost:44313/_framework/blazor.server.js:8:30709) at https://localhost:44313/_framework/blazor.server.js:8:31416 at new Promise () at e.beginInvokeJSFromDotNet (https://localhost:44313/_framework/blazor.server.js:8:31390) at https://localhost:44313/_framework/blazor.server.js:1:19202 at Array.forEach () at e.invokeClientMethod (https://localhost:44313/_framework/blazor.server.js:1:19173) at e.processIncomingData (https://localhost:44313/_framework/blazor.server.js:1:17165

Muppets commented 4 years ago

+1 for release version of blazor. I saw some commits relating to rolling out a version using the release bits, nuget update coming with it?

Love the package btw, great work!

ummerland commented 4 years ago

I have this error as well. Is there something to get it working?

ummerland commented 4 years ago

Ok so i did two things to get it running:

MichaelSL commented 4 years ago

While there is a workaround available, it would be great to include js files in the NuGet.

ummerland commented 4 years ago

You are right, maybe @stimms can help us along

Styx665 commented 3 years ago

any news on this?

drma-tech commented 3 years ago

@Styx665 I am using this component now. has many things available.

https://github.com/RemiBou/BrowserInterop