'Angular recompiles forever on new computer

I got a new computer and installed Visual Studio code, and got my projects from our git repository. Next npm install, and then a test. It compiles and works. Deployed code works as well.

But when I run npm run start (ng serve -o) for debugging on my (new) computer, it recompiles again and again forever. On my old computer it recompiled and that was it.

What can cause this?

This is an older project that I have been updating, and some state that it could be a version issue. I list the package.json file here for that.

{
  "name": "Skynet",
  "version": "0.0.0",
  "main": "main.ts",
  "scripts": {
    "ng": "ng",
    "start": "ng serve -o",
    "build": "ng build",
    "build-prod": "ng build --prod",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^7.2.15",
    "@angular/cdk": "^6.4.7",
    "@angular/common": "^7.2.15",
    "@angular/compiler": "^7.2.15",
    "@angular/core": "^7.2.15",
    "@angular/forms": "^7.2.15",
    "@angular/http": "^7.2.15",
    "@angular/material": "^6.4.7",
    "@angular/platform-browser": "^7.2.15",
    "@angular/platform-browser-dynamic": "^7.2.15",
    "@angular/router": "^7.2.15",
    "@eds/vanilla": "^3.11.0",
    "@types/jquery": "^3.3.22",
    "angular-6-clipboard": "^1.0.1",
    "clipboard": "^2.0.1",
    "core-js": "^2.5.4",
    "d3": "^5.7.0",
    "dragula": "^3.7.2",
    "jwt-decode": "^2.2.0",
    "leaflet": "^1.6.0",
    "mapbox-gl": "^0.52.0",
    "mapbox-gl-styles": "2.0.2",
    "ngx-filter-pipe": "^2.1.2",
    "ngx-pagination": "^3.2.1",
    "ngx-print": "^1.2.0-beta.1",
    "prismjs": "^1.23.0",
    "rxjs": "~6.5.2",
    "rxjs-compat": "^6.3.3",
    "underscore": "^1.9.1",
    "xlsx": "^0.14.3",
    "zone.js": "~0.8.29"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.8.0",
    "@angular/cli": "^7.3.9",
    "@angular/compiler-cli": "^7.2.15",
    "@angular/language-service": "^7.2.15",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.3.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "^3.2.4"
  }
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source