hiddentao / cordova-plugin-filepath

Resolve native file paths from content URLs for Cordova platforms
Apache License 2.0
66 stars 127 forks source link

FilePath Plugin - plugin_not_installed #63

Closed iChristosK closed 3 years ago

iChristosK commented 4 years ago

Everything was working fine since suddenly today I got this 2 warnings. I will add them below. I tried: ionic cordova plugin add cordova-plugin-filepath npm install @ionic-native/file-path

I added FilePath to app.module.ts inside providers.

But still it shows the plugin not installed.

1.Native: tried calling FilePath.resolveNativePath, but the FilePath plugin is not installed. 2.Install the FilePath plugin: 'ionic cordova plugin add cordova-plugin-filepath'

And then the error: plugin_not_installed.

core.js:15724 ERROR Error: Uncaught (in promise): plugin_not_installed at resolvePromise (zone.js:831) at zone.js:896 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Object.onInvokeTask (core.js:17290) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195) at drainMicroTaskQueue (zone.js:601)

iChristosK commented 4 years ago

Also I check my package.json and I have filepath version 1.5.7 here.

iChristosK commented 4 years ago

It's been 2 days and I haven't received an answer from anyone. Is this plugin dead?

hiddentao commented 4 years ago

Hi, I haven't been maintaining this plugin for a while now (as I don't use Cordova anymore) so am not sure what the cause might be. There haven't been any recent changes to the plugin itself so it's either something that has changed in Cordova that is making the plugin out-of-date or it's some local installation issue on your end.