0
当我尝试执行'离线cordova运行android'时,出现以下错误。有人可以提出一个解决方案吗?请注意,应用程序收到以前能成功运行,我想我更新到最新的离子CLI和插件后,我已经开始收到此错误从CLI插件(@ ionic/cli-plugin-cordova)执行命令期间发生错误
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova).
Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char:
后,我与--verbose跑了,我得到了以下错误:
C:\MAPP\wemartmobile\WeMartMobile>ionic cordova run android --verbose
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: 'C:\\MAPP\\wemartmobile\\WeMartMobile', local: true, binPath:
'C:\\Users\\d.dutta.chowdhury\\AppData\\Roaming\\npm\\node_modules\\ionic\\bin\\ionic', libPath:
'C:\\MAPP\\wemartmobile\\WeMartMobile\\node_modules\\ionic\\dist\\index.js' }
[DEBUG] Loading local plugin @ionic/cli-plugin-proxy
[DEBUG] Throwing PLUGIN_NOT_INSTALLED for local @ionic/cli-plugin-proxy
[DEBUG] Loading local plugin @ionic/cli-plugin-cordova
[DEBUG] Loading local plugin @ionic/cli-plugin-ionic-angular
[DEBUG] New daemon pid: 13020
[DEBUG] Getting plugin info for ionic
[DEBUG] Checking for latest plugin version of [email protected]
[DEBUG] Getting plugin info for @ionic/cli-plugin-cordova
[DEBUG] Checking for latest plugin version of @ionic/[email protected]
[DEBUG] Getting plugin info for @ionic/cli-plugin-ionic-angular
[DEBUG] Checking for latest plugin version of @ionic/[email protected]
[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova).
Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char:
[DEBUG] Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char:
at error (C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\node_modules\sax\lib\sax.js:666:10)
at strictFail (C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\node_modules\sax\lib\sax.js:692:7)
at beginWhiteSpace
(C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\node_modules\sax\lib\sax.js:965:7)
at Object.write (C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\node_modules\sax\lib\sax.js:1006:11)
at XMLParser.feed (C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\lib\parsers\sax.js:48:15)
at ElementTree.parse (C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\lib\elementtree.js:271:10)
at Object.parse (C:\MAPP\wemartmobile\WeMartMobile\node_modules\elementtree\lib\elementtree.js:584:8)
at Function.<anonymous>
(C:\MAPP\wemartmobile\WeMartMobile\node_modules\@ionic\cli-plugin-cordova\dist\lib\utils\configXml.js:28:28)
at next (native)
at fulfilled (C:\MAPP\wemartmobile\WeMartMobile\node_modules\tslib\tslib.js:93:62)
C:\MAPP\wemartmobile\WeMartMobile>