why i receive this error : TypeError: Cannot set property '$' of undefined

why i receive this error : TypeError: Cannot set property '$' of undefined

ebra192ebra192 Posts: 2Questions: 1Answers: 0


Answers

  • ebra192ebra192 Posts: 2Questions: 1Answers: 0

    i am using angular 4 and i receive this error

    webpack-internal:///./node_modules/@angular/core/esm5/core.js:1664 ERROR Error: Uncaught (in promise): TypeError: Cannot set property '$' of undefined
    TypeError: Cannot set property '$' of undefined
    at DataTable (webpack-internal:///./node_modules/datatables.net/js/jquery.dataTables.js:133)
    at eval (webpack-internal:///./src/app/theme/pages/aside-left-display-disabled-
    loader-enabled-enabled-type-spinner-message/list-user/list-user.component.ts:41)

    this.users is an array of objects and i could do this with metronic datatable but they dont have file export but i cant even display the table in this way

  • artistanartistan Posts: 3Questions: 0Answers: 0

    https://datatables.net/forums/discussion/comment/93380

    do not invoke in webpack.... leave off the ().

This discussion has been closed.