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

Missing modules - Angular 7 ɵɵ added to defineInjectable and inject in /fesm5/ctrl-ngx-emoji-mart.js and /ngx-emoji/fesm5/ctrl-ngx-emoji-mart-ngx-emoji.js #213

Closed
joshstallnick opened this issue May 10, 2019 · 1 comment
Labels

Comments

@joshstallnick
Copy link

package.json dependencies

 "dependencies": {
    "@angular/animations": "~7.0.0",
    "@angular/common": "~7.0.0",
    "@angular/compiler": "~7.0.0",
    "@angular/core": "~7.0.0",
    "@angular/forms": "~7.0.0",
    "@angular/http": "~7.0.0",
    "@angular/platform-browser": "^7.0.4",
    "@angular/platform-browser-dynamic": "~7.0.0",
    "@angular/router": "~7.0.0",
    "@clr/angular": "^1.1.3",
    "@clr/icons": "1.1.3",
    "@clr/ui": "^1.1.3",
    "@ctrl/ngx-emoji-mart": "^0.16.0",
    "@webcomponents/custom-elements": "^1.0.0",
    "copyfiles": "^2.1.0",
    "core-js": "^2.5.4",
    "mkdirp": "^0.5.1",
    "rimraf": "^2.6.3",
    "rxjs": "~6.3.3",
    "tar": "^4.4.8",
    "zone.js": "~0.8.26"
}

Giving compile errors for imports and browser errors for implementation

/node_modules/@ctrl/fesm5/ctrl-ngx-emoji-mart.js


...

import { Input, Output, Component, ChangeDetectionStrategy, EventEmitter, ɵɵdefineInjectable, Injectable, ViewChild, ElementRef, ChangeDetectorRef, ɵɵinject, ViewChildren, QueryList, NgModule } from '@angular/core';

...

(22903) > EmojiService.ngInjectableDef = ɵɵdefineInjectable({ factory: function EmojiService_Factory() { return new EmojiService(); }, token: EmojiService, providedIn: "root" });

...

/node_modules/@ctrl/ngx-emoji/fesm5/ctrl-ngx-emoji-ngx-emoji.js

...

import { Input, Output, Component, ChangeDetectionStrategy, EventEmitter, ɵɵdefineInjectable, Injectable, ViewChild, ElementRef, ChangeDetectorRef, ɵɵinject, ViewChildren, QueryList, NgModule } from '@angular/core';

...

(127) > EmojiFrequentlyService.ngInjectableDef = ɵɵdefineInjectable({ factory: function EmojiFrequentlyService_Factory() { return new EmojiFrequentlyService(); }, token: EmojiFrequentlyService, providedIn: "root" });

...

(561) > EmojiSearch.ngInjectableDef = ɵɵdefineInjectable({ factory: function EmojiSearch_Factory() { return new EmojiSearch(ɵɵinject(EmojiService)); }, token: EmojiSearch, providedIn: "root" });

...

My current solution (not optimal) is just to go in and manually remove the ɵɵ.

Posting this in case others have the issue and if there is actually an error (otherwise I must have done something incorrectly.

@scttcper
Copy link
Owner

🎉 This issue has been resolved in version 0.16.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants