ConnectSDK Plugin - Error: Cannot find module 'internal/fs'

Hi everyone,

I integrated the ConnectSDK Cordova Plugin into my Ionic App.

When I tried to add the Android Platform I am getting this error:

        Failed to install 'cordova-plugin-connectsdk': Error: Cannot find module
        at Function.Module._resolveFilename (module.js:470:15)
        at Function.Module._load (module.js:418:25)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at evalmachine.<anonymous>:18:20
        at Object.<anonymous>
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
        at tryModuleLoad (module.js:447:12)
        Error: Cannot find module 'internal/fs'

On iOS the installation worked perfectly fine.

cordova -v

npm -v

node -v

ionic -v

There is an open bug report.

I am already an participant of this bug report and I also have contacted the support for this plugin. But at the moment no one responded.
So I was hoping to get some help in the Ionic Forum.

I fixed this issue.

I used the node 6 version via the nvm command and added the android platform on version 5.2.2.
And everything worked perfectly fine.

How did you import the connectsdk plugin to your page in ionic 3 app?