Geolocation plugin issue

In my case it was a cache-problem of Visual Studio Code I think. I changed the import for the geolocation plugin (how recommended) from “@ionic-native/geolocation/” to “@ionic-native/geolocation/ngx” but the problem persisted.
The cause was that the path of the import ("@ionic-native/geolocation/ngx") was shown correctly but not updated in the background. When I hoovered over the import path the “ngx” was missing. After deleting and re-entering manually the import and the path the embedded link finally included the “ngx”. Strange issue as I added the ngx on several imports and this problem didn’t occur

try this
npm install @awesome-cordova-plugins/core
It could be that it was the missing dependency