ui5-typescript-example icon indicating copy to clipboard operation
ui5-typescript-example copied to clipboard

Build Issues -jQuery/index.d.ts and sap.d.ts

Open kiruja opened this issue 5 years ago • 1 comments

I am getting below issues with jQuery/index.d.ts and sap.d.ts

I am the steps given in the Readme were performed but when I build the app using Mac in Visual Studio Code (Command+ Shift +B ) it is throwing these errors.

Thanks for your help.

[10:40:48 AM] Starting compilation in watch mode...

node_modules/@types/jquery/index.d.ts:117:5 - error TS2717: Subsequent property declarations must have the same type. Property 'support' must be of type 'JQuerySupport', but here hastype 'PlainObject'.

117 support: JQuery.PlainObject; ~~~~~~~

node_modules/ui5ts/ui5-types/1.48/sap.d.ts:94179:48 - error TS2304: Cannot find name 'IterableIterator'.

94179 protected cellGenerator(): IterableIterator; ~~~~~~~~~~~~~~~~

node_modules/ui5ts/ui5-types/1.48/sap.d.ts:94185:50 - error TS2304: Cannot find name 'IterableIterator'.

94185 protected columnGenerator(): IterableIterator; ~~~~~~~~~~~~~~~~

node_modules/ui5ts/ui5-types/1.48/sap.d.ts:94262:47 - error TS2304: Cannot find name 'IterableIterator'.

94262 protected rowGenerator(): IterableIterator; ~~~~~~~~~~~~~~~~

[10:40:51 AM] Found 4 errors. Watching for file changes.

kiruja avatar Sep 20 '18 14:09 kiruja

When attempting npm build, I am getting a very similar message.

node_modules/ui5ts/ui5-types/1.48/sap.d.ts:94179:48 - error TS2304: Cannot find name 'IterableIterator'.

I am currently using UI5 v1.65.1, which I suspect may be why this is going wrong. My simple app works when I use npm start.

theREALdebater avatar Jun 04 '19 13:06 theREALdebater