Uncaught TypeError: Object(...) is not a function

I can't apply syncfusion grid v20.2.38 with vue 2



6 Replies

VB Vinitha Balasubramanian Syncfusion Team July 20, 2022 02:18 AM UTC

Hi Customer,


Greetings from Syncfusion support.


Currently, we are validating the reported query with the provided information at our end. We will provide further details on or before July 21st, 2022.


We appreciate your patience until then.


Regards,

Vinitha Balasubramanian



VB Vinitha Balasubramanian Syncfusion Team July 21, 2022 05:39 PM UTC

Hi Customer,


Thanks for your patience.


Query : Uncaught TypeError: Object(...) is not a function


Based on your query, we could suspect that the reported problem occurs due to below reasons


  • Declaration of class-component in package.json file is not required for vue2, kindly ensure this with your sample.



  • Please ensure to set the exact version for the packages instead of using Caret symbol (“^”)  especially in Vue ("vue": "2.6.11") and vue-template-compiler (  "vue-template-compiler": "2.6.11") because this may considered the latest version. We doesn’t have support for the latest version.


                                                                             


  • Also we need to convey that if you need to install components like “buttons, calendars etc ” you can install the components in package.json file instead of installing these component in the terminal window.





These are the reasons for the reported problem occurs. Kindly ensure the above mention points with your sample.


We have prepared a sample with latest version(v2.3.38) of the Grid component, kindly refer the attached sample for your references.


If it doesn’t meet your exact requirement, kindly share the below details with us to validate your query further.


  • Please share the issue replicated sample with us which will be more helpful to validate at our end.
  • Please share the video demonstration of the issue have been faced.


Regards,

Vinitha Balasubramanian



VB Vinitha Balasubramanian Syncfusion Team July 22, 2022 04:26 AM UTC

Hi Customer,


Please see the attached sample for your reference.


Regards,

Vinitha Balasubramanian


Attachment: Vue2_sample_c410b147.zip


NU Nurbek replied to Vinitha Balasubramanian July 28, 2022 03:26 PM UTC

Hello guys,
Do you have any updates on this problem?

I have the same problem with the Gantt diagramm despite following your instructions that I did.

Could you check it please.



NU Nurbek replied to Nurbek July 28, 2022 03:29 PM UTC

I delete node_modules files because its was too large .So I have the sam


Attachment: Syncfusion_6b3778d6.zip


PS Pavithra Subramaniyam Syncfusion Team August 1, 2022 07:12 AM UTC

Hi Nurbek,


As we updated earlier, the reported issue might be due to the dependencies installation. Please follow the steps provided in our previous update in this thread. We have tried the issue in the shared sample, but it is working fine at our end. If you are still facing the issue in the Gantt component, please share the stack trace for further validation.


Regards,

Pavithra S


Loader.
Up arrow icon