Commit c99a716
docs: Improve updating angular cli steps
Add step that removes "angular-cli" from "package.json" to make sure that after
upgrading from "angular-cli" to "@angular/cli" only "@angular/cli" is installed
into "node_modules".
It's needed to avoid problems with npm run scripts that uses "ng" command.
Otherwise there will be an error ("You have to be inside an angular-cli project in
order to use the test command.") when running "npm start", "npm test" or
"npm run ng -- ..." commands.
Close #44871 parent 198d27a commit c99a716
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
107 | | - | |
| 113 | + | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
| |||
0 commit comments