Commit 11d0afc
fix(@angular/cli): add error message when missing config env variable (#5980)
I tried to implement a continuous integration system on my VPS. I have a PHP script that runs ng build. However in my default PHP configuration no environment variable HOME or USERPROFILE was set. I had this error : `Path must be a string. Received undefined`.
I had to take some time to see where the problem came from so I made a pull request to clarify the error.
Now it is : `Error: Missing environment variable HOME` which does not require to look at the code. This message would have saved me some time.1 parent 5066c46 commit 11d0afc
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
0 commit comments