-
Notifications
You must be signed in to change notification settings - Fork 37
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
Code fails to run #2
Comments
Can you let me know versions for: |
angular/angular-cli#4919 and angular/angular-cli#4207 suggest these kinds of issues are commonly caused by angular-cli config files in your home directory. Maybe that's the case for you as well? |
Any solutions ? checked angular/angular-cli#4207 and angular/angular-cli#4919 , but no solutions works. |
angular/angular-cli#7884 and angular/angular-cli#6698 also look relevant. |
I did find a |
deleting .angular-cli.json give this error |
To be clear, you shouldn't be deleting the .angular-cli.json in the project itself, but any that remains in your home directory. I also recommend reinstalling all dependencies and checking out everything again |
Had searched on my harddisk , hasn't found .angular-cli.json on any other place . Still getting this error sudo ng serve TypeError: Cannot read property 'glob' of null |
Check if /root/.angular-cli.json exists. I also recommend against running ng serve with sudo, that seems like a security risk. |
checked with locate -i ".angular-cli.json" , but haven't find any search result |
And if you do the instructions from scratch without using sudo? |
* Update README.md * Update README.md
Went over the steps.
At
ng test
orng serve
I get:Any ideas?
The text was updated successfully, but these errors were encountered: