简体   繁体   中英

error when i use this comment Ionic cordova build android in ionic 9

Generating ES5 bundles for differential loading... An unhandled exception occurred: [BABEL] C:\\Projects\\ionic1\\myApp\\www\\common-es2015.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "C:\\Projects\\ionic1\\myApp\\node_modules\\@babel\\preset-env\\lib\\index.js") See "C:\\Users\\ichehade\\AppData\\Local\\Temp\\ng-xA10Tn\\angular-errors.log" for further details. [ERROR] An error occurred while running subprocess ng.

    ng.cmd run app:ionic-cordova-build --platform=android exited with exit code 127.

    Re-running this command with the --verbose flag may provide more information.

PS C:\\Projects\\ionic1\\myApp\\platforms\\android>

Please use and install below library

npm install @babel/compat-data@7.8.0

to devDependencies. It will save your time and efforts

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM