angular2-emoji
angular2-emoji copied to clipboard
webpack require error angular2-emoji/util/util.ts (3,14)
After installation webpack failed to compile
ERROR in /home/dhrn/Angular_cli projects/chatapp/node_modules/angular2-emoji/util/util.ts (3,14): Cannot find name 'require'. webpack: Failed to compile.
my project dependencies:
"dependencies": {
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
**`"angular2-emoji": "^0.1.6",`**
"angularfire2": "^4.0.0-rc.1",
"core-js": "^2.4.1",
"firebase": "^4.1.1",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
}
Have you fix this error somehow? I have same problem :/
No solutions found yet . I don't know . I used emoji picker instead of this module.
Same as getting error of me