johannesjo / angular2-promise-buttons

Chilled loading buttons for angular2
https://johannesjo.github.io/angular2-promise-buttons/#demo
MIT License
86 stars 28 forks source link

core_1.OpaqueToken is not a constructor #20

Closed ivanmiiranda closed 6 years ago

ivanmiiranda commented 6 years ago

Uncaught TypeError: core_1.OpaqueToken is not a constructor at Object.../../../../angular2-promise-buttons/dist/user-cfg.js (user-cfg.js:4) at webpack_require (bootstrap 077ac5449d9cd8d46489:54) at Object.../../../../angular2-promise-buttons/dist/promise-btn.directive.js (promise-btn.directive.js:7) at webpack_require (bootstrap 077ac5449d9cd8d46489:54) at Object.../../../../angular2-promise-buttons/dist/index.js (index.js:3) at webpack_require (bootstrap 077ac5449d9cd8d46489:54) at Object.../../../../../src/app/shared-modules/material/material.module.ts (navbar.service.ts:4) at webpack_require (bootstrap 077ac5449d9cd8d46489:54) at Object.../../../../../src/app/app.module.ts (app.component.ts:14) at __webpack_require__ (bootstrap 077ac5449d9cd8d46489:54)

ghost commented 6 years ago

Hello. You still have 1.x version of this module, in 2.x version there is no OpaqueToken used. Please update angular2-promise-buttons version in package.json