Was trying to test geolocation function in my React project on Firefox 74.0 on Linux Mint 19.3.
When trying to execute the following code:
window.navigator.geolocation.getCurrentPosition(
position => console.log(position),
err => console.log(err)
);
The following error was shown in the Firefox browser console:
GeolocationPositionError { code: 2, message: "Unknown error acquiring position" }