-
Notifications
You must be signed in to change notification settings - Fork 160
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
Error when loading DevExtreme components: Webpack, Angular 2, TypeScript #72
Comments
You had any luck fixing this? |
Have the same error but with new version with Angular Final |
Somehow I got it working with final... Not sure what I did to make it work. Lots of swearing involved... |
Do you import in angular module only one specific component module? E.g. DxSelectBoxModule |
Have same error: at DxButtonComponent.DxComponent._createWidget (http://localhost:49882/node_modules/devextreme-angular2/core/dx.component.js:59:14) at DxButtonComponent.DxComponent.ngAfterViewInit (http://localhost:49882/node_modules/devextreme-angular2/core/dx.component.js:82:14) at DebugAppView._View_SellComponent0.detectChangesInternal (SellComponent.ngfactory.js:208:69) |
See #135 Try to add jquery <=2.2.4, globalize >1.0 (cldr-data and cldr-core) and dx.all.js in your index.html. |
Due to the fix of #16, this issue seems to be outdated. |
home.component.ts
home.component.html
main.ts
webpack.config.js
Error message
[Error] ORIGINAL EXCEPTION: TypeError: $element[this.widgetClassName] is not a function. (In '$elementthis.widgetClassName', '$element[this.widgetClassName]' is undefined)
logError (bundle.js:104433)
call (bundle.js:46435)
(anonymous function) (bundle.js:49541)
(anonymous function) (bundle.js:49830)
__tryOrUnsub (bundle.js:50510)
next (bundle.js:50459)
_next (bundle.js:50409)
next (bundle.js:50373)
_finalNext (bundle.js:49991)
_next (bundle.js:49983)
next (bundle.js:49940)
emit (bundle.js:49818:82)
onError (bundle.js:54146)
onHandleError (bundle.js:54358)
handleError (bundle.js:20263)
runTask (bundle.js:20195)
drainMicroTaskQueue (bundle.js:20410)
invoke (bundle.js:20362)
The text was updated successfully, but these errors were encountered: