-
Notifications
You must be signed in to change notification settings - Fork 12k
ng new fails - Package install failed, see above. ng serve fails - Cannot read property 'glob' of null #4889
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
Comments
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. |
#4919 (there's more info there). I'll add your comment there as well. |
I have tried the following option to resolve the issue $ pwd $ defaults write com.apple.Finder AppleShowAllFiles true then navigate to your application path and try execute ‘ng’ command. |
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
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Linux Ubuntu (docker node container)
Versions.
@angular/cli: 1.0.0-beta.32.3
node: 7.5.0
os: linux x64
Repro steps.
ng new myApp
The log given by the failure.
ng new myApp
ng new.txt
ng serve
serve.txt
Mention any other details that might be useful.
I don't think that I did anything special... just followed the directions.
The text was updated successfully, but these errors were encountered: