Skip to content

Missing environment variable HOME #6806

Description

@harikrishnan-u01

The ng build is failing.

PFB the commands:

npm install -g @angular/cli
ng -v
ng build --prod

PFB the error logs:

node_modules/@angular/cli/models/config.js:15
     [exec]         throw new Error('Missing environment variable ' + envHomeName);
     [exec]         ^
     [exec] 
     [exec] Error: Missing environment variable HOME

These errors started occurring from today (6/26/2017) and was not there previously.
Can you kindly help fix this?

Thanks,
Hari

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)freq1: lowOnly reported by a handful of users who observe it rarelytype: bug/fix

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions