on 10-28-2021 7:29 AM
Hello,
since today i have problems on "MDK Deployment to Mobile Service" from SAP Web IDE.
I am developping on SAP Asset Manager 2105.
Yesterday the Build & Deployment worked well.I have tested it from different SAP Web IDEs and different projects - nothing worked.
Have there been any infrastructure changes this night?
My log:
------------------------------
08:18:03 (DIBuild) MDK Bundler - creating bundle /tmp/webide.wWz.build/proj/.bundler/bundle.js
08:19:10 (DIBuild) >> MDK Bundler - failed to create bundle
08:19:12 (DIBuild) >> ... ...ugin/android'
>> @ ./build.definitions/application-index.js 604:101-208
>>
>> ERROR in ./build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/ios/ButtonStack.ts 4:13-53
>> Module not found: Error: Can't resolve 'tns-core-modules/ui/core/view' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/ios'
>> @ ./build.definitions/application-index.js 606:97-200
>>
>> ERROR in ./build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/ios/ButtonStack.ts 5:17-53
>> Module not found: Error: Can't resolve 'tns-core-modules/platform' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/ios'
>> @ ./build.definitions/application-index.js 606:97-200
>>
>> 7 errors have detailed information that is not shown.
>> Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
>>
>> webpack 5.38.1 compiled with 7 errors in 66974 ms
>> ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/application' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls',ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/platform' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls',ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/application' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin',ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/ui/core/view' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/android',ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/platform' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/android',ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/ui/core/view' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/ios',ModuleNotFoundError: Module not found: Error: Can't resolve 'tns-core-modules/platform' in '/tmp/webide.wWz.build/proj/.bundler/build.definitions/SAPAssetManager/Extensions/ButtonStackModule/controls/ButtonStackPlugin/ios'
>> undefined
>> Exited with code: 255.
>> Error executing child process: Error: Process exited with code 255.
Warning: Task "exec:bundlerExec" failed.� Use --force to continue.
Aborted due to warnings.
Build failed.
Please follow the relevant troubleshooting tips below:
ERROR: "Unable to find local grunt"
- Right-click the project folder, select "Clean npm Folder", and build again.
ERROR: "npm ERR! code EINTERGITY"
- Delete the "package-lock.json" file from the project and build again.
[INFO] Build finished in 210 seconds
08:19:12 (MDK Webpack) Failed to build project. Please check above error-message for details.
------------------------------
Regards
Björn
If you are using MDK 5.x clients then please try the following:
This should eliminate the error during deploy. However, if you are deploying for MDK 6.0 clients then you will need to migrate your metadata to be compatible with this version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bill,
thank you for the fast response.
Did there change anything in the background since yesterday? Because i have never changed this checkbox.
Checked each project. It has been set everywhere to "true" and the deployment has been working until yesterday.
I have changed it to "false" and the line "_SchemaVersion": "6.0" dose not exist.
So the problem almost exists.
Regards
Björn
Hey Bill,
I'm having the exact same issue and your suggested fix (migrate) did not work for me. Any other suggestions? I have an OSS note open (848080)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.