Planned
Last Updated: 06 Jan 2022 06:41 by Shashwat
Created by: Shashwat
Comments: 0
Category: Popup
Type: Bug Report
0

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.