danielehrhardt / ionic3-emoji-picker

MIT License
20 stars 12 forks source link

Aot Complier Error #8

Open Summerdx opened 6 years ago

Summerdx commented 6 years ago

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

matthewkremer commented 6 years ago

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

krishna022 commented 6 years ago

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

ahkohd commented 5 years ago

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

What's New