Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular/cli): add error message when missing config env variable #5980

Merged
merged 2 commits into from
May 4, 2017

Conversation

victorboissiere
Copy link
Contributor

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.

Path must be a string. Received undefined => Error: Missing environment variable HOME
@filipesilva filipesilva merged commit 11d0afc into angular:master May 4, 2017
filipesilva pushed a commit to filipesilva/angular-cli that referenced this pull request May 9, 2017
…angular#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.
dond2clouds pushed a commit to d2clouds/speedray-cli that referenced this pull request Apr 23, 2018
…angular#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.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants