abdulkadirgenc / ng-wizard

Angular Wizard - Stepper
MIT License
67 stars 47 forks source link

Uncaught (in promise): TypeError: Object(...) is not a function #12

Open enesoz opened 4 years ago

enesoz commented 4 years ago

I am working on Angular 6 and when I import ngwizard to my app , I got error below , please help me to resolve this problem

core.js:1673 ERROR Error: Uncaught (in promise): TypeError: Object(...) is not a function TypeError: Object(...) is not a function at ng-wizard.js:193 at Module.../node_modules/ng-wizard/fesm5/ng-wizard.js (ng-wizard.js:195) at __webpack_require__ (bootstrap:83) at Module../app/theme/pages/default/abm-package/new-abm-package/new-abm-package.component.ts (pages-default-abm-package-package-module.js:9276) at __webpack_require__ (bootstrap:83) at Module../app/theme/pages/default/abm-package/package.module.ts (open-criterion.component.ts:53) at __webpack_require__ (bootstrap:83) at $_lazy_route_resource lazy namespace object:157 at ZoneDelegate.push.../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391) at Object.onInvoke (core.js:3820) at resolvePromise (zone.js:831) at resolvePromise (zone.js:788) at zone.js:892

sayami007 commented 3 years ago

@enesoz I got the same issue, did you solve this issue ?

enesoz commented 3 years ago

@enesoz I got the same issue, did you solve this issue ?

@sayami007 I changed the library to primeng p-steps