ionic3-emoji-picker
ionic3-emoji-picker copied to clipboard
Aot Complier Error
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
I'm experiencing this too :( Any ideas? Thanks!
I think its too late to reply, use this npm i @ionic-tools/emoji-picker --save
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.