Z
Z
Zakari2021-11-05 11:25:29
Angular
Zakari, 2021-11-05 11:25:29

How to install an ancient Angular project?

There is an old project that you just need to run locally. Here is its package.json:

{
  "name": "oldy-angular",
  "version": "0.0.0",
  "license": "none",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "deploy": "ng build --prod && git push -u origin master && firebase deploy"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^5.1.3",
    "@angular/common": "^5.1.3",
    "@angular/compiler": "^5.1.3",
    "@angular/core": "^5.1.3",
    "@angular/forms": "^5.1.3",
    "@angular/http": "^5.1.3",
    "@angular/platform-browser": "^5.1.3",
    "@angular/platform-browser-dynamic": "^5.1.3",
    "@angular/router": "^5.1.3",
    "@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.9",
    "angularfire2": "^5.0.0-rc.6.0",
    "bootstrap": "4.0.0-beta.2",
    "chart.js": "^2.7.1",
    "core-js": "^2.5.3",
    "firebase": "^4.8.0",
    "font-awesome": "4.7.0",
    "ng2-charts": "^1.6.0",
    "ngx-auto-scroll": "^1.1.0",
    "rxjs": "^5.5.6",
    "zone.js": "^0.8.19"
  },
  "devDependencies": {
    "@angular/cli": "1.6.3",
    "@angular/compiler-cli": "5.1.2",
    "@angular/language-service": "5.1.2",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "^6.0.95",
    "codelyzer": "~3.2.0",
    "jasmine-core": "~2.6.2",
    "jasmine-spec-reporter": "~4.1.0",
    "karma": "~1.7.0",
    "karma-chrome-launcher": "~2.1.1",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.3.3",
    "karma-jasmine": "^1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~3.2.0",
    "tslint": "~5.7.0",
    "typescript": "~2.4.2"
  }
}

Question:
How to install Angular, Node, npm and other dependencies in Debian to make it work.
Now Debian is clean, nothing is installed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lssssssssssl, 2021-11-05
@lsssssssssl

Install nodejs, go to project folder, do npm i
gud

R
RaShe, 2021-11-05
@RaShe

Install docker and run in docker.
Docker file let it be node 6

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question