SAP Knowledge Base Article - Preview

3106057 - MDK client 6.0.3 - Error "TypeError:Class constructor IControl cannot be invoked without 'new'"

Symptom

When deploying from VSCode to App Update and using an MDK 6.0+ client, it fails with error message "TypeError:Class constructor IControl cannot be invoked without 'new'"


Read more...

Environment

  • MDK SDK Version - 6.0.3
  • Mobile Emulator: Android Pixel 5 - API 31
  • IDE: VS Code - Version: 1.60.2
  • MacBook M1 Chip - Mac OS Big Sur (11.6)

Product

SAP Cloud Platform Mobile Services all versions ; SAP Mobile Services all versions

Keywords

es5, es6, MDK, Client, Map Custom Control, Android, Class constructor, TypeError, IControl, cannot be invoked without , KBA , MOB-MDK-MDC-IOS , MDK Client for iOS platform , 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.