cancel
Showing results for 
Search instead for 
Did you mean: 

Create MDK- Client command fails with MDK 24.7.1 : " Can't resolve 'platform "

robert_hunger
Participant
0 Kudos
251

Hi MDK- Client Expert,  Hi Bill ( @bill_froelich )

I get errors when executing the ./create_client command. When creating the client, some NODES modules are not found in the right directory. Unfortunately, I have no experience with NODE JS projects and don't know what to do. 

many thanks
Robert

ERROR in ../node_modules/tns-core-modules/file-system/file-system.js 14:19-38
Module not found: Error: Can't resolve 'platform' in '....MDK/MDKClient_SDK_24.7/node_modules/tns-core-modules/file-system'
resolve 'platform' in '....MDK/MDKClient_SDK_24.7/node_modules/tns-core-modules/file-system'
Parsed request is a module
using description file: ....MDK/MDKClient_SDK_24.7/node_modules/tns-core-modules/file-system/package.json (relative path: .)
resolve as module
looking for modules in ....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules
single file module
using description file: ....MDK/MDKClient_SDK_24.7/MDE24QAS002/package.json (relative path: ./node_modules/platform)
no extension
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform doesn't exist
.android.ts
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.android.ts doesn't exist
.ts
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.ts doesn't exist
.android.js
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.android.js doesn't exist
.js
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.js doesn't exist
.android.mjs
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.android.mjs doesn't exist
.mjs
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.mjs doesn't exist
.android.css
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.android.css doesn't exist
.css
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.css doesn't exist
.android.scss
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.android.scss doesn't exist
.scss
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.scss doesn't exist
.android.json
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.android.json doesn't exist
.json
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform.json doesn't exist
....MDK/MDKClient_SDK_24.7/MDE24QAS002/node_modules/platform doesn't exist
....MDK/MDKClient_SDK_24.7/node_modules/tns-core-modules/file-system/node_modules doesn't exist or is not a directory
....MDK/MDKClient_SDK_24.7/node_modules/tns-core-modules/node_modules doesn't exist or is not a directory
....MDK/MDKClient_SDK_24.7/node_modules/node_modules doesn't exist or is not a directory
looking for modules in ....MDK/MDKClient_SDK_24.7/node_modules
single file module
using description file: ....MDK/MDKClient_SDK_24.7/package.json (relative path: ./node_modules/platform)
no extension
....MDK/MDKClient_SDK_24.7/node_modules/platform doesn't exist
.android.ts
....MDK/MDKClient_SDK_24.7/node_modules/platform.android.ts doesn't exist
.ts
....MDK/MDKClient_SDK_24.7/node_modules/platform.ts doesn't exist
.android.js
....MDK/MDKClient_SDK_24.7/node_modules/platform.android.js doesn't exist
.js
....MDK/MDKClient_SDK_24.7/node_modules/platform.js doesn't exist
.android.mjs
....MDK/MDKClient_SDK_24.7/node_modules/platform.android.mjs doesn't exist
.mjs
....MDK/MDKClient_SDK_24.7/node_modules/platform.mjs doesn't exist
.android.css
....MDK/MDKClient_SDK_24.7/node_modules/platform.android.css doesn't exist
.css
....MDK/MDKClient_SDK_24.7/node_modules/platform.css doesn't exist
.android.scss
....MDK/MDKClient_SDK_24.7/node_modules/platform.android.scss doesn't exist
.scss
....MDK/MDKClient_SDK_24.7/node_modules/platform.scss doesn't exist
.android.json
....MDK/MDKClient_SDK_24.7/node_modules/platform.android.json doesn't exist
.json
....MDK/MDKClient_SDK_24.7/node_modules/platform.json doesn't exist
....MDK/MDKClient_SDK_24.7/node_modules/platform doesn't exist
....MDK/node_modules doesn't exist or is not a directory
....node_modules doesn't exist or is not a directory
/Users/rob/Documents/node_modules doesn't exist or is not a directory
/Users/rob/node_modules doesn't exist or is not a directory
/Users/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory

 

 

View Entire Topic
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

You can have a look at the tutorials listed here https://developers.sap.com/mission.mobile-dev-kit-controls.html