Angular 不断生成浏览器应用程序包

Angular keeps generating browser application bundle

在我的工作中,我已经从膝上型电脑转换为固定式电脑以获得更多动力,但在设置过程中,我遇到了问题。我无法让我的 Angular 前端编译了。 我有与笔记本电脑 (14.7.0) 相同的 node.js 版本,以及相同的 npm 和 yarn 版本。

当我然后 运行 'ng serve --open' 命令时,它编译代码并说它编译成功,但它立即开始再次生成应用程序包,好像有一些变化到它想要实现的代码。这种情况会再次发生几次,直到 node.js 运行 分配的内存不足。

前端是ABP架构的一部分。我有 运行 'npm install' 和 'yarn'。

我的package.json:

{
  "name": "stella",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve --open",
    "debug": "ng serve",
    "build": "ng build",
    "build:prod": "ng build --prod",
    "build:test": "ng build --configuration test",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@abp/ng.components": "^4.4.4",
    "@abp/ng.core": "^4.4.4",
    "@abp/ng.setting-management": "^4.4.4",
    "@abp/ng.theme.shared": "^4.4.4",
    "@agm/core": "^3.0.0-beta.0",
    "@angular/animations": "~10.0.10",
    "@angular/common": "~10.0.10",
    "@angular/compiler": "~10.0.10",
    "@angular/core": "^10.2.4",
    "@angular/forms": "~10.0.10",
    "@angular/google-maps": "^10.1.3",
    "@angular/platform-browser": "~10.0.10",
    "@angular/platform-browser-dynamic": "~10.0.10",
    "@angular/router": "~10.0.10",
    "@material/dialog": "^8.0.0",
    "@progress/kendo-angular-common": "^1.2.3",
    "@progress/kendo-angular-dropdowns": "^4.3.2",
    "@progress/kendo-angular-l10n": "^2.0.2",
    "@progress/kendo-angular-popup": "^3.0.6",
    "@types/file-saver": "^2.0.1",
    "@types/googlemaps": "3.39.3",
    "@volo/abp.commercial.ng.ui": "^4.4.4",
    "@volo/abp.ng.account": "^4.4.4",
    "@volo/abp.ng.audit-logging": "^4.4.4",
    "@volo/abp.ng.identity": "^4.4.4",
    "@volo/abp.ng.identity-server": "^4.4.4",
    "@volo/abp.ng.language-management": "^4.4.4",
    "@volo/abp.ng.saas": "^4.4.4",
    "@volo/abp.ng.text-template-management": "^4.4.4",
    "@volo/abp.ng.theme.lepton": "^4.4.4",
    "file-saver": "^2.0.5",
    "google-libphonenumber": "^3.2.17",
    "intl-tel-input": "^17.0.3",
    "ng2-date-picker": "11.0.0",
    "ngx-bootstrap": "^6.2.0",
    "ngx-intl-tel-input": "^3.0.5",
    "rxjs": "~6.5.4",
    "tslib": "^2.1.0",
    "zone.js": "~0.10.2"
  },
  "devDependencies": {
    "@abp/ng.schematics": "^4.4.4",
    "@angular-devkit/build-angular": "^0.1100.6",
    "@angular-devkit/build-ng-packagr": "~0.1000.6",
    "@angular/cli": "^10.2.1",
    "@angular/compiler-cli": "~10.0.10",
    "@angular/language-service": "~10.0.10",
    "@types/googlemaps": "3.39.3",
    "@types/jasmine": "~3.5.0",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "^12.19.12",
    "codelyzer": "^5.1.2",
    "jasmine-core": "~3.5.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~5.0.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~3.3.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "ng-packagr": "^10.0.0",
    "protractor": "~7.0.0",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~3.9.5"
  }
}

似乎安装 Dropbox 应用程序导致了循环效应,它不断同步我的文件,因此项目会不断重新加载,永远不会完成。

关键是 Git-repository 位于我的文档文件夹中,Dropbox 已选择同步这些文件,即使它没有显示为我同步路径的一部分,而且 Dropbox 是一家公司驱动的保管箱,具有独立的文件夹结构。