tjvantoll / nativescript-IQKeyboardManager

NativeScript wrapper for the popular IQKeyboardManager iOS framework
MIT License
100 stars 20 forks source link

Class constructor ContentView cannot be invoked without 'new' #76

Open javatutorials2016 opened 3 years ago

javatutorials2016 commented 3 years ago

Encountering the below exception CONSOLE ERROR: ERROR Error: Uncaught (in promise): TypeError: Class constructor ContentView cannot be invoked without 'new' TypeError: Class constructor ContentView cannot be invoked without 'new' at new PreviousNextView (file: node_modules/nativescript-iqkeyboardmanager/iqkeyboardmanager.ios.js:8:0) at ViewUtil.createView (file: node_modules/@nativescript/angular/ivy_ngcc__/fesm2015/nativescript-angular.js:2583:0) at EmulatedRenderer.createElement (file: node_modules/@nativescript/angular/ivy_ngcc/fesm2015/nativescript-angular.js:2783:0) at EmulatedRenderer.createElement (file: node_modules/@nativescript/angular/__ivy_ngcc/fesm2015/nativescript-angular.js:3000:0) at elementCreate (file: node_modules/@angular/core/ivy_ngcc__/fesm2015/core.js:6982:0) at Module.ɵɵelementStart (file: node_modules/@angular/core/ivy_ngcc/fesm2015/core.js:13876:0) at ChatRoomComponent_Template (file: src/app/components/chat-room/chat-room.component.html:54:2) at executeTemplate (file: node_modules/@angular/core/ivy_ngcc/fesm2015/core.js:7303:0) at renderView (file: node_modules/@angular/core/__ivy_ngcc/fesm2015/core.js:7112:0) at renderComponent (file: node_modules/@angular/core/ivy_ngcc__/fesm2015/core.js:8373:0) at renderChildComponents (file: node_modules/@angular/core/ivy_ngcc/fesm2015/core.js:6971:0) at renderView (file: node_modules/@angular/core/__ivy_ngcc/fesm2015/core.js:7137:0) at ComponentFactory$1.create (file: node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js:22192:0) at DetachedLoader.loadWithF<…>

dependencies: "@nativescript/angular": "^10.1.7", "@nativescript/core": "^7.0.13", "@nativescript/theme": "~2.5.0", "@ng-bootstrap/ng-bootstrap": "^7.0.0", "@schoolsquirrel/letter-avatar": "^1.0.0", "@stomp/ng2-stompjs": "^7.2.0", "@types/node-rsa": "^1.0.0", "@types/socket.io-client": "^1.4.33", "aes-js": "^3.1.2", "angularx-social-login": "^3.2.1", "bootstrap": "^4.5.0", "constants": "0.0.2", "core-js": "^3.6.5", "cryptico": "^1.0.2", "crypto": "^1.0.1", "crypto-module": "^1.3.19", "event-source-polyfill": "^1.0.16", "idb": "^5.0.4", "mediasoup-client": "^3.6.12", "moment": "^2.27.0", "nativescript-iqkeyboardmanager": "^1.5.1"

3rror404 commented 3 years ago

There is a N7 version of the plugin here: https://github.com/NativeScript/plugins

Install with tns plugin add @nativescript/iqkeyboardmanager

javatutorials2016 commented 3 years ago

thanks, will check