"export 'Vue' (imported as 'Vue3') was not found in 'vue-class-component'

Hello everyone!

I have a warning in my project on vue 2: 


in ./node_modules/@syncfusion/ej2-vue-layouts/node_modules/@syncfusion/ej2-vue-base/src/component-base.js

"export 'Vue' (imported as 'Vue3') was not found in 'vue-class-component'


In my package.json I have these dependences:

    "@syncfusion/ej2": "^19.4.43",
    "@syncfusion/ej2-barcode-generator": "^19.4.38",
    "@syncfusion/ej2-base": "19.4.42",
    "@syncfusion/ej2-buttons": "^19.4.42",
    "@syncfusion/ej2-charts": "^19.4.43",
    "@syncfusion/ej2-compression": "^19.4.38",
    "@syncfusion/ej2-data": "^19.4.42",
    "@syncfusion/ej2-file-utils": "^19.4.38",
    "@syncfusion/ej2-inputs": "^19.4.43",
    "@syncfusion/ej2-layouts": "^19.4.43",
    "@syncfusion/ej2-lists": "^19.4.38",
    "@syncfusion/ej2-navigations": "^19.4.41",
    "@syncfusion/ej2-pdf-export": "^19.4.43",
    "@syncfusion/ej2-popups": "^19.4.41",
    "@syncfusion/ej2-splitbuttons": "^19.4.40",
    "@syncfusion/ej2-svg-base": "^19.4.42",
    "@syncfusion/ej2-vue-barcode-generator": "^19.4.38",
    "@syncfusion/ej2-vue-base": "^19.4.40",
    "@syncfusion/ej2-vue-buttons": "^19.4.42",
    "@syncfusion/ej2-vue-charts": "^19.4.43",
    "@syncfusion/ej2-vue-dropdowns": "^19.4.42",
    "@syncfusion/ej2-vue-grids": "^19.4.43",
    "@syncfusion/ej2-vue-layouts": "^19.4.43",
    "@syncfusion/ej2-vue-maps": "^19.4.42",
    "@syncfusion/ej2-vue-navigations": "19.2.0.49",
    "@syncfusion/ej2-vue-pdfviewer": "^19.4.43",
    "@syncfusion/ej2-vue-popups": "^19.4.41",
    "@syncfusion/ej2-vue-splitbuttons": "^19.4.40",
    "vue-class-component": "^7.2.6",
    "vue": "2.6.12",


Do you have any suggestions how to remove this warning? In my project I'm using only data grid, barcode, dashboardlayout. I need all of these dependences?


1 Reply

IL Indhumathy Loganathan Syncfusion Team February 1, 2022 12:33 PM UTC

Hi Alberto, 
 
Greetings from Syncfusion support. 
 
We have prepared a Vue sample for the listed components with the mentioned package version. But we are unable to replicate the reported warnings at our end. Please find the sample link below 
 
 
We suggest you check this after clearing your npm cache. If the issue persists, share a simple issue replicated sample with call stack details. Also, replicate the issue in the above shared sample(if possible) which will be more helpful for us to proceed. 

Regards, 
Indhumathy L 


Loader.
Up arrow icon