Completed
Last Updated: 02 Mar 2022 08:30 by ADMIN
Shashwat
Created on: 06 Jan 2022 06:41
Category: Popup
Type: Bug Report
0
Typescript error when building with site and typescript

https://github.com/zdravkov/kendo-popup-with-vite
Followed the below steps:
node - 16.13.1
pnpm install
Change App.vue as mentioned below
pnpm dev (works)
pnpm build (fails with type errors)

Type errors:
c:\temp\kendo-popup-with-vite>pnpm build

kendo-popup-with-vite@0.0.0 build c:\temp\kendo-popup-with-vite
vue-tsc --noEmit && vite build

node_modules/.pnpm/@progress+kendo-vue-popup@2.7.1_acc43b21ea211aeeda51cec780f114cb/node_modules/@progress/kendo-vue-popup/dist/npm/Popup.d.ts:2:57 - error TS2307: Cannot find module 'vue/types/options' or its corresponding type declarations.

2 import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
~~~~~~~~~~~~~~~~~~~

node_modules/.pnpm/@progress+kendo-vue-popup@2.7.1_acc43b21ea211aeeda51cec780f114cb/node_modules/@progress/kendo-vue-popup/dist/npm/Popup.d.ts:63:72 - error TS2304: Cannot find name 'Vue'.

63 export interface PopupAll extends PopupMethods, PopupState, PopupData, Vue {
~~~

node_modules/.pnpm/@progress+kendo-vue-popup@2.7.1_acc43b21ea211aeeda51cec780f114cb/node_modules/@progress/kendo-vue-popup/dist/npm/Popup.d.ts:68:37 - error TS2304: Cannot find name 'Vue'.

68 declare let Popup: ComponentOptions<Vue, DefaultData, DefaultMethods, {}, RecordPropsDefinition>;
~~~

Found 3 errors.

 ELIFECYCLE  Command failed with exit code 2.

2 comments
ADMIN
Petar
Posted on: 23 Feb 2022 12:20

Hi Shashwat,

Thank you for reporting the issue. It seems that not everything is fixed with the discussed scenario. I've changed the status of the bug back to "In development".

We will check the issue again with priority and I believe it will be completely fixed in a short period.

Thank you for your patience and understanding.

Regards,
Petar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Shashwat
Posted on: 23 Feb 2022 09:47
Since this is completed, could you please share the version of @progress/kendo-vue-dropdowns this is fixed in? I tried with 3.0.8 and it still fails.