Open budnix opened 2 years ago
Handsontable not compatible with vue 2.7 since ThisTypedComponentOptionsWithRecordProps takes one more generic argument
Do you plan to update?
EDIT: vue released only 4 days ago https://github.com/vuejs/vue/releases
@maksim-shila I wonder if you have the error only while building the component within monorepo? Or the same error is thrown in Vue 2.7 app that uses the official @handsontable/vue
package?
Here is example of project with this error example.nuxt.zip
Only adding exact version of vue to package.json did the trick
"vue": "2.6.14", "vue-server-renderer": "2.6.14", "vue-template-compiler": "2.6.14"
npm run in vue build
works after npm i
with LTS node v16.15.1, npm v8.11.0 with v12.1.2 200cca2e2599fcc2bab1e9439803ec535799423a.
@maksim-shila we will investigate the problem.
This issue is about a failure with Vue 2.7 in our build chain, which caused us to temporarily downgrade the version used in our build chain to Vue 2.6.
Nevertheless, we verified that in normal conditions Handsontable can be used with Vue 2.7 (including TypeScript), so your problem is something that we yet have to investigate.
@maksim-shila if you still experience the problem, please contact support@handsontable.com.
I reopened the issue as the bug still exists. The related PR solves the problem but currently, the change is not backward compatible with Vue 2.6 so it needs to be investigated to support all Vue ^2 semver range versions.
Description
Using the latest installation (
npm i
) on the repo and trying to build the Vue wrapper (npm run in vue build
) the script fails.The error message:
or
I've checked the latest version of the wrapper with the Vue CLI and it seems that the issue is about the build dependencies mismatch on the build side and not about the dependencies mismatch on the developers' app side.
Your environment