-
Notifications
You must be signed in to change notification settings - Fork 12k
Error: tree.branch is not a function #8167
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
What command did that happen on? That seems to be missing in your issue report. I've heard of this error happening when there are multiple versions of RxJs installed, but @hansl would know more. |
Received this error as well when trying to create a new angular project using "ng new". Happened after I updating to latest version of the angular client. |
Any work around? Gone back to a working image. Thanks to VMware. But have to upgrade on day or other. |
I was able to get it to work by deleting my local node_modules folder and then running the "ng new" command. |
@GaganTut Which directory did you delete? |
Any solution to this problem? |
@alkopop79 @GaganTut has the solution. Delete the node_modules folder in the home directory. |
I just got this error after running I checked my home folder and all parent directories and I'm not finding any extraneous node_modules folders. The error when away I reinstalled: |
I had the same error. I was able to solve it by a simple |
Same issue here on
|
Hi All, For what it is worth I too resolved this issue by running npm update . I was then able to create services and components in an angular app I was working on. |
same issue here |
solved by running |
This should have been fixed a long time ago. If this still happens please create a new issue so we can follow up. |
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. |
Bug Report or Feature Request (mark with an
x
)Versions.
Distributor ID: Ubuntu
Release: 16.04
Codename: xenial
Repro steps.
.
error on command: ng new MyApp
Error: tree.branch is not a function
tree.branch is not a function
packages installed:
The log given by the failure.
No stack trace on the console. just the error
Desired functionality.
The command must create a new angular application in the new folder MyApp with the necessary .ts files, component files and html files.
Mention any other details that might be useful.
packages installed are
express and angular/cli only
The text was updated successfully, but these errors were encountered: