Bonjour tout le monde,

Là en ce moment, j'ai cette erreur :
Cannot find module '@angular/compiler-cli/ngcc'
Avant, pour la résoudre, j'ai essayé ça :
https://stackoverflow.com/questions/...ar-and-project

Ça m'a donné comme erreur "Data path ".builders['app-shell']" should have required property 'class'" alors j'ai essayé ça :
https://stackoverflow.com/questions/...property-class
ce qui m'a ramené au problème de ngcc

Ça paraît déjà cafouilleux comme ça, mais ce n'était pas le début des ennuis. Le projet est basé sur ce modèle :
https://www.codeproject.com/Articles...95#xx5721995xx

Dans le forum en bas on voit que j'ai déjà eu des ennuis avec TypeScript en conflit avec d'autres modules, ce qui provoquait l'erreur "an accessor cannot be declared in an ambient context" et m'interdisait de recourir à l'instruction "npm update".

Bon, maintenant, qu'est-ce que je fais, j'avance, je recule, je pars sur le côté ?

package.json :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  "name": "weather-client",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular-devkit/architect": "^0.901.6",
    "@angular/animations": "~7.1.0",
    "@angular/common": "~7.1.0",
    "@angular/compiler": "^7.1.4",
    "@angular/core": "~7.1.0",
    "@angular/forms": "~7.1.0",
    "@angular/platform-browser": "~7.1.0",
    "@angular/platform-browser-dynamic": "~7.1.0",
    "@angular/router": "~7.1.0",
    "@ng-bootstrap/ng-bootstrap": "^4.0.1",
    "bootstrap": "^4.5.0",
    "core-js": "^2.5.4",
    "rxjs": "~6.3.3",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^0.901.6",
    "@angular/cli": "^9.1.6",
    "@angular/compiler-cli": "^7.1.4",
    "@angular/language-service": "~7.1.0",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.1.1",
    "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.1.6"
  }
}