Geolocation/ngx folder is not shown

I imported geolocation as below

import { Geolocation } from ‘@ionic-native/geolocation/ngx’;

ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"
 npm install @ionic-native/geolocation

I installed it as above. but when I go to node_modules - @ionic/native folder - geolocation
but ngx folder is not shown.

without using /ngx, Object(…) is not function error is shown…

anyone can tell me how to get ngx folder of geolocation ?

Based on the topic you picked, I assume you’re using Ionic-Angular@v3.

If so, please see the V3 specific docs

You are missing the correct version tag for the ionic-native plugin

npm i @ionic-native/geolocation@4