Bonsoir,

J'ai installé la version 9.1.5 de angular sur mon pc.
Mais, je me suis rendu compte que la version 9 ne prend pas en compte le flex-layout.
J'ai donc voulu revenir à la version 7.3.10 de angular en faisant ceci:

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
PS C:\Users\Moi\Documents> npm uninstall -g @angular/cli
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules\@angular\cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
 
removed 289 packages in 5.598s
PS C:\Users\Moi\Documents> npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
PS C:\Users\Moi\Documents> ng version
ng : Le terme «ng» n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que  
le chemin d'accès est correct et réessayez.
Au caractère Ligne:1 : 1
+ ng version
+ ~~
    + CategoryInfo          : ObjectNotFound: (ng:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS C:\Users\Moi\Documents> npm install -g @angular/cli@7.3.10
npm WARN deprecated chokidar@2.0.4: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
C:\Users\Moi\AppData\Roaming\npm\ng -> C:\Users\Moi\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules\@angular\cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
 
+ @angular/cli@7.3.10
added 289 packages from 180 contributors in 41.177s
PS C:\Users\Moi\Documents> ng version
     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
 
 
Angular CLI: 9.1.5
Node: 12.16.3
 
Angular:
...
Ivy Workspace:
 
Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.901.5
@angular-devkit/schematics   9.1.5
@angular/cli                 9.1.5
@schematics/angular          9.1.5
@schematics/update           0.901.5
rxjs                         6.5.4
j'ai beau désinstallé la version 9 et essayé de mettre la version 7, quand je regarde, la version installée est toujours la version 9.

Pouvez vous m'aider à revenir à la version 7 s'il vous plaît?

Merci.