Codegen ionic error

can u help me to solve this

[13:51:42] ionic-app-script task: “build”

[13:51:42] Error: Internal Error: The structure of the program changed during codegen.

Error: Internal Error: The structure of the program changed during codegen.

at AngularCompilerProgram._updateProgramWithTypeCheckStubs (/Users/duptycm/Dootam/node_modules/@angular/compiler-cli/src/transformers/program.js:466:19)

at /Users/duptycm/Dootam/node_modules/@angular/compiler-cli/src/transformers/program.js:148:23

[ERROR] An error occurred while running subprocess ionic-app-scripts.

    ionic-app-scripts build --prod --target cordova --platform android exited with exit code 1.

    

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

(base) DUPTYs-MacBook-Proootam duptycm$ ng version

Angular CLI: 11.0.7

Node: 14.15.4

OS: darwin x64

Angular: 5.2.11

… animations, common, compiler, compiler-cli, core, forms

… http, platform-browser, platform-browser-dynamic

Ivy Workspace: Yes

Package Version


@angular-devkit/architect 0.1100.7 (cli-only)

@angular-devkit/core 11.1.1

@angular-devkit/schematics 11.1.1

@schematics/angular 11.1.1

@schematics/update 0.1100.7 (cli-only)

rxjs 5.5.11

typescript 4.1.3

Ionic:

Ionic CLI : 5.4.16

Ionic Framework : ionic-angular 3.9.10

@ionic/app-scripts : 3.2.4

Capacitor:

Capacitor CLI : 2.4.6

@capacitor/core : 2.4.6

Cordova:

Cordova CLI : 10.0.0

Cordova Platforms : 6.0.0, android 9.0.0, browser, ios 6.1.1

Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 12 other plugins)

Utility:

cordova-res : 0.15.2

native-run : 1.3.0

System:

NodeJS : v14.15.4 (/usr/local/bin/node)

npm : 6.14.10

OS : macOS Mojave

1 Like

Have you managed to resolve this?

How did you resolve this? I’ve had this problem for two weeks. HEEEELP