angular2-emoji icon indicating copy to clipboard operation
angular2-emoji copied to clipboard

webpack require error angular2-emoji/util/util.ts (3,14)

Open dhrn opened this issue 7 years ago • 3 comments

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"
  }

 

dhrn avatar Jun 14 '17 06:06 dhrn

Have you fix this error somehow? I have same problem :/

vixeven avatar Jul 08 '17 21:07 vixeven

No solutions found yet . I don't know . I used emoji picker instead of this module.

dhrn avatar Jul 19 '17 13:07 dhrn

Same as getting error of me

ahirhasmukh avatar Sep 15 '17 04:09 ahirhasmukh