ami*_*ros 5 cordova ionic-framework cordova-plugins ionic2 ionic-native
我正在尝试使用与Cordova Safe插件配合使用的Ionic Native File Encryption插件.
但是,在我添加插件并尝试运行(即使不在我的代码中使用它)使用之后ionic cordova run android
,我收到此错误:
BUILD FAILED in 5s
at ChildProcess.whenDone (C:\Users\User\Ionic\App\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:70968) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Run Code Online (Sandbox Code Playgroud)
问题是什么?