Nativescript“动态”实例方法“ statusBarOrientationWillChange()”也必须是“ @objc”

时间:2018-12-09 16:21:02

标签: angular webpack dependencies nativescript

在依赖项更新之后,我的本机脚本/角应用程序遇到了构建问题,目前,我的构建失败,并出现以下错误:https://pastebin.com/SEiLNQ3R

我的package.json文件如下所示:

{
 "nativescript": {
 "tns-ios": {
  "version": "5.0.0"
 }
},
"scripts": {
 "lint": "tslint \"app/**/*.ts\""
},
"dependencies": {
"@angular/animations": "~7.0.0",
"@angular/common": "~7.0.0",
"@angular/compiler": "~7.0.0",
"@angular/core": "~7.0.0",
"@angular/forms": "~7.0.0",
"@angular/http": "~7.0.0",
"@angular/platform-browser": "~7.0.0",
"@angular/platform-browser-dynamic": "~7.0.0",
"@angular/router": "~7.0.0",
"jwt-decode": "^2.2.0",
"nativescript-angular": "^7.0.0",
"nativescript-background-http": "^3.3.1",
"nativescript-barcodescanner": "^2.7.9",
"nativescript-camera": "^4.1.1",
"nativescript-checkbox": "^3.0.3",
"nativescript-geolocation": "^4.3.1",
"nativescript-imagepicker": "^6.0.5",
"nativescript-ios-uuid": "^1.0.0",
"nativescript-oauth": "^2.1.8",
"nativescript-orientation": "^2.2.1",
"nativescript-phone": "^1.4.0",
"nativescript-plugin-firebase": "^7.4.3",
"nativescript-pro-ui": "^3.4.1",
"nativescript-push-notifications": "^1.1.6",
"nativescript-theme-core": "^1.0.4",
"nativescript-toast": "^1.4.6",
"nativescript-zxing": "^1.5.7",
"reflect-metadata": "~0.1.10",
"rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",
"tns-core-modules": "^5.0.2",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular/compiler-cli": "^6.0.7",
"@ngtools/webpack": "~6.1.0-beta.1",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"clean-webpack-plugin": "~0.1.19",
"codelyzer": "~4.0.2",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^1.0.0",
"extract-text-webpack-plugin": "~3.0.2",
"lazy": "1.0.11",
"nativescript-dev-sass": "^1.6.0",
"nativescript-dev-typescript": "^0.7.2",
"nativescript-dev-webpack": "^0.13.0",
"nativescript-worker-loader": "^0.9.1",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.3.0",
"sass-loader": "~7.0.1",
"tns-platform-declarations": "^4.1.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.13.0",
"typescript": "~2.7.2",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.1",
"webpack-bundle-analyzer": "~2.13.0",
"webpack-cli": "~2.1.3",
"webpack-sources": "~1.1.0",
"@angular-devkit/core": "~0.7.0-beta.1"
 }
}

我尝试根据thisthis进行更改,但是我没有设法解决问题。我的package.json文件已使用不同版本更改了几次。任何反馈都非常欢迎! 预先谢谢你!

0 个答案:

没有答案