Failed to install 'cordova-plugin-insomnia': Error: ENOENT: no such file or directory, open '/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/AndroidManifest.xml' at Object.fs.openSync (fs.js:646:18) at Object.fs.readFileSync (fs.js:551:33) at Object.parseElementtreeSync (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/node_modules/cordova-common/src/util/xml-helpers.js:180:27) at new AndroidManifest (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/lib/AndroidManifest.js:29:20) at AndroidProject.getPackageName (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/lib/AndroidProject.js:99:12) at Api.addPlugin (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/Api.js:223:57) at handleInstall (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/src/plugman/install.js:594:10) at /Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/src/plugman/install.js:357:28 at _fulfilled (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/node_modules/q/q.js:816:30)
Seems that do not works on Cordova 7.0.0
Failed to install 'cordova-plugin-insomnia': Error: ENOENT: no such file or directory, open '/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/AndroidManifest.xml' at Object.fs.openSync (fs.js:646:18) at Object.fs.readFileSync (fs.js:551:33) at Object.parseElementtreeSync (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/node_modules/cordova-common/src/util/xml-helpers.js:180:27) at new AndroidManifest (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/lib/AndroidManifest.js:29:20) at AndroidProject.getPackageName (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/lib/AndroidProject.js:99:12) at Api.addPlugin (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/platforms/android/cordova/Api.js:223:57) at handleInstall (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/src/plugman/install.js:594:10) at /Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/src/plugman/install.js:357:28 at _fulfilled (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/salvatorealessandrorusso/DEV/AMOSInvetory_mod2/node_modules/cordova-lib/node_modules/q/q.js:816:30)