0
我將ConnectSDK Cordova插件集成到我的Ionic App中。 https://github.com/ConnectSDK/Connect-SDK-Cordova-PluginAndroid ConnectSDK安裝過程中出現錯誤
安裝過程中我得到了Android平臺的錯誤:
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/username/desktop/app/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'
在iOS設備上安裝的工作完全正常。
科爾多瓦-v 7.0.1
NPM -v 5.2.0
節點-v V7.9.0