-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I have integrated ScratchView to my nativescript/angular project build was a success and when I am running it through
tns run android command I am getting error.
error: uncaught (in promise): typeerror: class constructor layoutbase cannot be invoked without 'new'
Any help can be appreciated.
in tsconfig.json i have "target": "es2017",
and my package.json
{
"name": "@nativescript/template-blank-ng",
"main": "main.js",
"displayName": "Blank",
"templateType": "App template",
"version": "7.0.3",
"description": "NativeScript Application",
"author": "NativeScript Team oss@nativescript.org",
"license": "SEE LICENSE IN ",
"publishConfig": {
"access": "public"
},
"keywords": [
"nstudio",
"nativescript",
"mobile",
"angular",
"{N}",
"tns",
"template",
"category-general"
],
"repository": "",
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
"@angular/compiler": "~10.1.0",
"@angular/core": "~10.1.0",
"@angular/forms": "~10.1.0",
"@angular/platform-browser": "~10.1.0",
"@angular/platform-browser-dynamic": "~10.1.0",
"@angular/router": "~10.1.0",
"@nativescript/angular": "~10.1.0",
"@nativescript/core": "~7.0.0",
"@nativescript/theme": "~2.5.0",
"nativescript-scratchview": "^1.0.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.6.0",
"zone.js": "~0.11.1"
},
"devDependencies": {
"@angular/compiler-cli": "~10.1.0",
"@nativescript/android": "7.0.0",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~10.1.0",
"typescript": "~3.9.0"
},
"private": "true",
"readme": "NativeScript Application"
}