Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Cordova build android: Internal error: unknown identifier

$
0
0

@Codedev wrote:

I can’t build my app for pro-release

here is my info

Ionic:

   Ionic CLI                     : 5.2.5
   Ionic Framework               : @ionic/angular 4.11.10
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.2.3

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 2.5.3, (and 8 other plugins)

Utility:

   cordova-res : 0.11.0
   native-run  : not installed

System:

   Android SDK Tools : 26.1.1 (F:\sdk)
   NodeJS            : v10.17.0 (C:\Program Files\nodejs\node.exe)
   npm               : 6.11.3
   OS                : Windows Server 2016

I got this error

ERROR in : Error: Internal error: unknown identifier []
    at Object.importExpr$$1 [as importExpr] (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:24170:27)
    at D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:18100:37
    at Array.map (<anonymous>)
    at InjectableCompiler.depsArray (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:18066:25)
    at InjectableCompiler.factoryFor (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:18130:36)
    at InjectableCompiler.injectableDef (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:18149:44)
    at InjectableCompiler.compile (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:18159:106)
    at D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:24015:90
    at Array.forEach (<anonymous>)
    at AotCompiler._emitPartialModule2 (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:24015:25)
    at D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:24008:48
    at Array.reduce (<anonymous>)
    at AotCompiler.emitAllPartialModules2 (D:\ionic\fax\node_modules\@angular\compiler\bundles\compiler.umd.js:24007:26)
    at AngularCompilerProgram._emitRender2 (D:\ionic\fax\node_modules\@angular\compiler-cli\src\transformers\program.js:300:31)
    at AngularCompilerProgram.emit (D:\ionic\fax\node_modules\@angular\compiler-cli\src\transformers\program.js:201:22)
    at AngularCompilerPlugin._emit (D:\ionic\fax\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:879:49)

[ERROR] An error occurred while running subprocess ng.

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>