Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aot Complier Error #8

Open
Summerdx opened this issue Feb 11, 2018 · 3 comments
Open

Aot Complier Error #8

Summerdx opened this issue Feb 11, 2018 · 3 comments

Comments

@Summerdx
Copy link

Summerdx commented Feb 11, 2018

Hi I'm using this for my ionic3 project, but it show error message when I run command

ionic cordova build android --prod --minifyjs --minifycss --optimizejs

The error message is
Error: ./node_modules/@ionic-tools/emoji-picker/lib-dist/components/emoji-picker.component.ngfactory.ts Module build failed: Error: No element indexed by 1

I have the same error in another component and resolve after update the version, so I guess this is a bug in the module.

my ionic info

cli packages: (E:\bi-app\node_modules)

@ionic/cli-plugin-proxy : 1.5.7
@ionic/cli-utils        : 1.19.0
ionic (Ionic CLI)       : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.7
Cordova Platforms  : android 6.3.0 ios 4.4.0
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.0.2
Node              : v8.9.4
npm               : 5.6.0
OS                : Windows 10

Environment Variables:

ANDROID_HOME     : C:\Users\summer\AppData\Local\Android\sdk
HTTP_PROXY       : not set
http_proxy       : not set
HTTPS_PROXY      : not set
https_proxy      : not set
IONIC_HTTP_PROXY : not set
PROXY            : not set
proxy            : not set

Misc:

backend : pro

Any idea? Thanks

@Summerdx Summerdx changed the title Aot Complier Erro Aot Complier Error Feb 11, 2018
@matthewkremer
Copy link

I'm experiencing this too :( Any ideas? Thanks!

@krishna022
Copy link

I think its too late to reply,
use this
npm i @ionic-tools/emoji-picker --save

@ahkohd
Copy link

ahkohd commented Dec 19, 2018

Use this instead https://www.npmjs.com/package/ngx-emoji-picker

What's New

  • Fixed the AOT (Ahead Of Time) Compile error or simply put the ---prod build compile error.
  • Upgraded the library from a Ng2 project to a Ng7 project.
  • Upgraded the library RxJs from v5 to v6 to make it support new angular versions.
  • Now compatible with Ng2 - Ng7 projects and as well as Ionic 3/4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants