Started a blank app --type=“angular”
Installed Deeplinks and can’t get anywhere
console.error
./node_modules/@ionic-native/deeplinks/index.js Module not found: Error: Can't resolve 'rxjs/Observable' in ..../node_modules/@ionic-native/deeplinks'
and if I add:
rxjs-compat
I get:
Uncaught TypeError: Object(...) is not a function
Did you use ionic-native beta?
Did you migrated the import of deeplinks (@ionic-native/deeplinks/ngx
instead of @ionic-native/deeplinks
)
ps.: probably not, the deeplinks from the v5 branch doesn’t import rxjs/Observable but from rxjs https://github.com/ionic-team/ionic-native/blob/v5/src/%40ionic-native/plugins/deeplinks/index.ts
ps.: final thought, if the above isn’t the solution, ionic-plugin-deeplinks is deprecated since months https://github.com/ionic-team/ionic-plugin-deeplinks maybe that’s the reason?
1 Like
Good catch, that was the reason why. Thanks a lot @reedrichards!
1 Like