SAP Knowledge Base Article - Preview

2707240 - Error: Failed to compile plugin TypeScript code - Agentry


When trying to create MDK iOS client using instructions from the documentation, after running the 'create-client.command' script, the error below occurs:

Compiling plugin TypeScript code
node_modules/tns-core-modules/ui/styling/gradient.d.ts(7,25): error TS6143: Module '../../css/parser' was resolved to '~/AssetManager2.0/MDKClient_SDK/AssetManager2.0/node_modules/tns-core-modules/css/parser.js', but '--allowJs' is not set.
Error: Failed to compile plugin TypeScript code.



  • Asset Manager 2.0
  • MDK Client 2.1.2
  • iOS
  • XCode 9.4.1


SAP Asset Manager 2.0


typescript, asset, manager, mdk, ios, allowJs , KBA , MOB-APP-SAM , SAP Asset Manager , MOB-SYC-SAP , Syclo Mobility for SAP backend , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.