[Resolved] Error: The target entry-point “@ionic-native/youtube-video-player” has missing dependencies: – @ionic-native/core

During the development of the Ionic application with Cordova and the Android platform, I faced the below error while running the application to the browser.

The error was like this:

I:\…\ionic-5-video-player-app\node_modules\@angular\compiler-cli\ngcc\src\entry_point_finder\targeted_entry_point_finder.js:40
throw new Error(“The target entry-point \”” + invalidTarget.entryPoint.name + “\” has missing dependencies:\n” +
^

Error: The target entry-point “@ionic-native/youtube-video-player” has missing dependencies:
– @ionic-native/core

 

Solution

To resolve this, you need to install the @ionic-native/core plugin by executing the below npm command:

npm install --save @ionic-native/core

Leave a Reply

Your email address will not be published. Required fields are marked *