breautek edited a comment on issue #437: URL: https://github.com/apache/cordova-plugin-file/issues/437#issuecomment-732433711
> @breautek mate all node_modules have index.js files. > I'm using the instructions here `https://ionicframework.com/docs/v3/native/file/` Cordova plugins are not traditional node_modules. Plugins don't always have single entry point, and furthermore NPM doesn't run on devices. The only way NPM is involved in cordova plugins is that NPM is used as a distribution method, but the `package.json` `main` field does not apply. Also Ionic is a framework that uses but is independent from Cordova. So what it sounds like is something in the Ionic's code base that is using Angular, which makes a little more sense since Ionic was originally built as an Angular framework for Cordova, if I recall correctly. If this is the case, then you'll have to communicate with the Ionic team. Again, i'm pretty confident there are no angular calls being made from this code base. If I'm wrong, please do point me to the file and line numbers in https://github.com/apache/cordova-plugin-file/tree/master/www and I'll reopen this issue. I'm guessing you're seeing the compiled version of https://github.com/ionic-team/ionic-native/blob/master/src/%40ionic-native/plugins/file/index.ts and mistaking it for this plugin -- but that's part of the ionic framework. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
