【发布时间】:2021-04-14 20:09:26
【问题描述】:
我正在 macOS Big Sur 上使用 Nativescript + Angular 构建一个项目。我无法运行或构建项目的 android 版本。我不断收到此错误:
Error while reporting exception: Error: Unable to start Cleanup process.
有人知道这个错误吗?我成功地运行了tns clean 以及tns platform remove android、tns platform add android、tns prepare android,但如果我运行tns build android 或tns run android,我会收到上述错误。
这是我的 package.json。让我知道是否有任何有用的文件。
{
"name": "@nativescript/template-hello-world-ng",
"main": "main.js",
"version": "7.0.8",
"author": "NativeScript Team <oss@nativescript.org>",
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"publishConfig": {
"access": "public"
},
"keywords": [
"nativescript",
"mobile",
"angular",
"{N}",
"template"
],
"repository": "<fill-your-repository-here>",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript-community/ui-chart": "^1.1.29",
"@nativescript/angular": "~11.0.0",
"@nativescript/core": "^7.3.0",
"@nativescript/firebase": "^11.1.3",
"@nativescript/theme": "~3.0.0",
"nativescript": "^7.2.0",
"nativescript-carousel": "^7.0.1",
"nativescript-custom-bottomsheet": "^1.0.6",
"nativescript-fontawesome": "^1.0.0",
"nativescript-ngx-fonticon": "^7.0.0",
"nativescript-ui-chart": "^8.0.2",
"nativescript-ui-dataform": "^7.0.4",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.6.0",
"sass": "^1.32.7",
"zone.js": "~0.11.1"
},
"devDependencies": {
"@angular/compiler-cli": "~11.0.0",
"@nativescript/android": "7.0.1",
"@nativescript/ios": "8.0.0",
"@nativescript/types": "~7.0.0",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~11.0.0",
"typescript": "^4.0.2"
},
"gitHead": "41a7254d3bc134fd3c258761f3c6e1c3d54e6d41",
"private": "true",
"readme": "NativeScript Application"
}
【问题讨论】:
标签: android macos angular2-nativescript