You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ng new fails - Package install failed, see above. ng serve fails - Cannot read property 'glob' of null #4889
It looks like #4207 is the same issue. If you set up the environment in your home directory, it fails. It's a common pattern in docker to put the app in the home directory.
Changing the home directory seems to resolve the issue.
I have tried the following option to resolve the issue
Steps to resolve the issue
$ pwd
it shows —> /Users/YourName /*** That is your Home path***/
Execute the below command to display the hidden files
$ defaults write com.apple.Finder AppleShowAllFiles true
$ killall Finder
After executing the above command you will see the hidden files.
if “.angular-cli.json” file exist under “/Users/yourname” (i.e Home Path) then remove “.angular-cli.json” file.
then navigate to your application path and try execute ‘ng’ command.
Activity
huntsberg commentedon Feb 22, 2017
It looks like #4207 is the same issue. If you set up the environment in your home directory, it fails. It's a common pattern in docker to put the app in the home directory.
Changing the home directory seems to resolve the issue.
filipesilva commentedon Mar 13, 2017
#4919 (there's more info there). I'll add your comment there as well.
balr404 commentedon May 9, 2017
I have tried the following option to resolve the issue
Steps to resolve the issue
$ pwd
it shows —> /Users/YourName /*** That is your Home path***/
Execute the below command to display the hidden files
$ defaults write com.apple.Finder AppleShowAllFiles true
$ killall Finder
After executing the above command you will see the hidden files.
if “.angular-cli.json” file exist under “/Users/yourname” (i.e Home Path) then remove “.angular-cli.json” file.
then navigate to your application path and try execute ‘ng’ command.
Sree-001 commentedon Dec 19, 2017
I had the same issue. I just deleted the .angular-cli.json file from my user directory and it resolved the issue.
To resolve this issue in Ubuntu, follow the below steps
rm -r .angular*
angular-automatic-lock-bot commentedon Sep 7, 2019
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.