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

Hi everyone,

I integrated the ConnectSDK Cordova Plugin into my Ionic App. https://github.com/ConnectSDK/Connect-SDK-Cordova-Plugin

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

        Failed to install 'cordova-plugin-connectsdk': Error: Cannot find module
        'internal/fs'
        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>
        (/Users/user/desktop/apps/mobileapp/plugins/cordova-plugin-connectsdk/scripts/node_modules/unzip/node_modules/fstream/node_modules/graceful-fs/fs.js:11:1)
        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
7.0.1

npm -v
5.2.0

node -v
v7.9.0

ionic -v
3.5.0

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?