Hello,
I'm using vue2 and I updated syncfusion to version 19.2.47 after that I cannot build my solution because I get a error: "Can't resolve 'vue-class-component'". This erro
Best regards,
Mateusz
Hi,
I installed as suggested vue-class-component and in my Vue 2 project I have ejs-schedule component ver. 19.2.47.
When I compile the project I get the following errors:
WARNING Compiled with 2 warnings 6:36:20 PM
warning in ./node_modules/@syncfusion/ej2-vue-schedule/src/recurrence-editor/recurrenceeditor.component.js
"export 'Options' was not found in 'vue-class-component'
warning in ./node_modules/@syncfusion/ej2-vue-schedule/src/schedule/resources.directive.js
"export 'Vue' (imported as 'Vue3') was not found in 'vue-class-component'
Can You give me any help ?
Alberto.
Hi,
When I added "@syncfusion/ej2-vue-grids" to code sample from Berly Christopher I had many warning like this:
and grid didn't show up.
Hello, I am running into this same issue with syncfusion/ej2-vue-calendars 19.2.47. I ran the npm install this morning so it seems it wasn't fixed for this one yet.
After doing
“npm install --save vue vue-class-component” is seems that other non Syncfusion components broke and now my application is dead in the water and will have to be rebuilt from the beginning. Is there a way that I can use Charts in a Vue 2.6.4 without using this vue-class-component?
Update: Here was my fix
Since this was an existing project I updated all Syncfusion installed components to the highest 18 versions. That meant downgrading the new Chart installs that were 19.
so I had to do -- yarn add @syncfusion/ej2-vue-charts@18.4.46 - no 19 versions of any component
I uninstalled the vue-class-component and last I had to change the vue template compiler to: "vue-template-compiler": "2.6.12" and the I also had to change the vue version to "vue": "2.6.12" so that the 2 matched. I recompiled the the app and it seems to be running fine.
error code below.
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
- parse.js:15 parse
[Workspace_Excel]/[@vue]/component-compiler-utils/dist/parse.js:15:23
- index.js:67 Object.module.exports
[Workspace_Excel]/[vue-loader]/lib/index.js:67:22
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
- parse.js:15 parse
[Workspace_Excel]/[@vue]/component-compiler-utils/dist/parse.js:15:23
- index.js:67 Object.module.exports
[Workspace_Excel]/[vue-loader]/lib/index.js:67:22
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
- parse.js:15 parse
[Workspace_Excel]/[@vue]/component-compiler-utils/dist/parse.js:15:23
- index.js:67 Object.module.exports
[Workspace_Excel]/[vue-loader]/lib/index.js:67:22
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
- parse.js:15 parse
[Workspace_Excel]/[@vue]/component-compiler-utils/dist/parse.js:15:23
- index.js:67 Object.module.exports
[Workspace_Excel]/[vue-loader]/lib/index.js:67:22
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
- parse.js:15 parse
[Workspace_Excel]/[@vue]/component-compiler-utils/dist/parse.js:15:23
- index.js:67 Object.module.exports
[Workspace_Excel]/[vue-loader]/lib/index.js:67:22
I'm having the same issues with:
"@syncfusion/ej2-vue-dropdowns": "^20.1.58",
"@syncfusion/ej2-vue-querybuilder": "^20.1.55",
"vue-class-component": "^7.0.2",
WARNING Compiled with 6 warnings 3:47:54 PM
warning in ./node_modules/@syncfusion/ej2-vue-dropdowns/src/drop-down-tree/dropdowntree.component.js
"export 'Options' was not found in 'vue-class-component'
warning in ./node_modules/@syncfusion/ej2-vue-dropdowns/src/list-box/listbox.component.js
"export 'Options' was not found in 'vue-class-component'
warning in ./node_modules/@syncfusion/ej2-vue-dropdowns/src/multi-select/multiselect.component.js
"export 'Options' was not found in 'vue-class-component'
warning in ./node_modules/@syncfusion/ej2-vue-dropdowns/src/auto-complete/autocomplete.component.js
"export 'Options' was not found in 'vue-class-component'
warning in ./node_modules/@syncfusion/ej2-vue-dropdowns/src/combo-box/combobox.component.js
"export 'Options' was not found in 'vue-class-component'
warning in ./node_modules/@syncfusion/ej2-vue-dropdowns/src/drop-down-list/dropdownlist.component.js
"export 'Options' was not found in 'vue-class-component'
Upgraded to the latest and it still output those warnings
"vue-class-component": "^7.2.6",
This is what fixed it - downgrading to this version ->
"@syncfusion/ej2-vue-dropdowns": "^21.2.7",
"@syncfusion/ej2-vue-querybuilder": "^21.2.7",
Hi Gal,
The current latest version for Syncfusion components is 20.1.58v. We don’t have version 21.1.27. You are using Caret (^) notation in the package version and the Caret(^) is used for automatically updating the minor updates along with patch updates. So, we suspect that it will install the 20.1.58 version. Also, we request you to provide additional details about the issue i.e., issue replication sample, etc... This will help us validate the issue further and provide you with a better solution.
Regards,
Udhaya Kumar D.
Hello,I am getting an error from all the components where vue-component is used.
```
warning in ./node_modules/@syncfusion/ej2-vue-splitbuttons/src/drop-down-button/items.directive.js
"export 'Options' was not found in 'vue-class-component'
```
Can you provide a relevant version of package and also command to install(downgrade it).Thanks
Hi Nurbek,
In our ej2-vue-base package, we keep a Post Install process for our vue components, this post install process will occur for the components while installing with the ej2-vue-base package. In your scenario, we believe you have installed the vue inputs component after installing the ej2-vue-base package. This problem will be resolved if you delete the node_modules and install the packages once again. Meanwhile we have considered this as a bug at our end and we have planned this fix for our upcoming weekly patch release which is scheduled on 5th July 2022.
You can check the status of this fix from the below feedback link
We appreciate your patience until then.
Regards,
YuvanShankar A
Hi Nurbek,
We regret for the inconvenience.
We have rolled out our 2022 volume 2 recently, and hence the scheduled weekly patch release has been called off for this week. We will include the fix in our next weekly patch release scheduled for July 12, 2022 and will let you know once it is released.
Regards,
YuvanShankar A
Hi Nurbek,
Sorry for the inconvenience.
We are still facing more difficulty on implementing this fix. So, we have planned to include this in our volume 2 SP release, which will be scheduled on first week of August month, 2022. We appreciate your patience until then. You can also track the status of this bug by using below feedback portal link
Feedback Link: https://www.syncfusion.com/feedback/35633/for-vue-2-vue-class-component-is-not-removed-in-the-component-repository
Regards,
YuvanShankar A
Thank you very much for your update,I am waiting your voule 2 SP release.
Best regards.
You are welcome, Nurbek. As promised, we will get back to you by mid of August.
Hi Nurbek,
Thanks for the patience.
We are glad to announce that our weekly patch release (20.2.45) is rolled out. We have included the fix for this issue in this release. So, we suggest you upgrade our Syncfusion packages to our latest version to resolve this issue in your end. (20.2.45).
Feedback link: https://www.syncfusion.com/feedback/35633/for-vue-2-vue-class-component-is-not-removed-in-the-component-repository
Release notes: https://ej2.syncfusion.com/vue/documentation/release-notes/20.2.45/?type=all#common
Regards,
YuvanShankar A
Hello,
I am facing the same problem with vue@"^3.2.45" from nuxt@3.0.0
I am getting this error :
Could not resolve "vue-class-component"
node_modules/@syncfusion/ej2-vue-buttons/src/chips/chips.directive.js:21:22:
21 │ import * as Vue3 from 'vue-class-component';
this is my package.json:
{
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"nuxt": "^3.0.0"
},
"dependencies": {
"@syncfusion/ej2-vue-base": "^20.4.42",
"@syncfusion/ej2-vue-buttons": "^20.4.42"
}
}
Hi Noureddine,
We have already considered this feature (Need to provide the support for Nuxt 3 to our vue3 components) at our end and it's available in our queue. Usually, Syncfusion will plan and implement the features based on feature rank, customer requested count and volume wish-list. We will implement and include this feature in any one of our upcoming releases.
Feedback link: https://www.syncfusion.com/feedback/37471/need-to-provide-the-support-for-nuxt-3-to-our-vue3-components
Regards,
YuvanShankar A
Hi,
I'm getting the same error message building our application using Vue 3.2.45
'Could not resolve "vue-class-component"'
"import * as Vue3 from 'vue-class-component';"
My dependencies:
"dependencies": {
"@syncfusion/ej2-vue-calendars": "20.4.44",
"@syncfusion/ej2-vue-schedule": "20.4.44",
"vue": "^3.2.0",
Hi Arwin,
Sorry for the delay. To resolve this issue, kindly install the “vue-class-component” packages.
"vue-class-component": "8.0.0-rc.1" |
For more details, please refer the below UG link.
UG link: https://ej2.syncfusion.com/vue/documentation/system-requirements/
Get back to us if you need any further assistance on this.
Regards,
YuvanShankar A