Symptom
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.
Read more...
Environment
-
Asset Manager 2.0
- MDK Client 2.1.2
- iOS
- XCode 9.4.1
Product
SAP Asset Manager 2.0
Keywords
typescript, asset, manager, mdk, ios, allowJs , KBA , MOB-APP-SAM , SAP Service and 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 for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview