`ng new` error 'Tree type is not supported
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [X] bug report -> please search issues before submitting
- [ ] feature request
This may be a duplicate of #11683, but I’m unable to ng new
due to some global config problem and the error isn’t helpful in helping me resolve it.
Command (mark with an x
)
- [X] new
Versions
Node: 8.10.0
OS: linux x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect <error>
@angular-devkit/core <error>
@angular-devkit/schematics 0.7.1
@schematics/angular <error>
@schematics/update <error>
rxjs <error>
Repro steps
Not sure, happens every time I try to ng new
on my machine. I have removed all globally installed yarn packages and deleting my global node_modules
folder (verified by failing to run ng
at all), then reinstalling them without success.
The log given by the failure
$ ng new my-app
Tree type is not supported.
Desired functionality
Scaffold me out an Angular app
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:22 (4 by maintainers)
Top Results From Across the Web
Error "Tree type is not supported." when generating new ...
@nisimjoseph thx - that helped. I am using angular/cli 6.1.4. Solution: 1 ) delete node-modules folder and 2) package-lock file 3) then run...
Read more >Tree type is not supported when creating new Angular project
I'm new to Angular. I installed Angular CLI from Angular.io, but I get this error: "Tree type is not supported". when creating a...
Read more >Workspace npm dependencies - Angular
The CLI command ng new creates a package.json file when it creates the new workspace. This package.json is used by all projects in...
Read more >unable to resolve dependency tree error for creating new ...
I decided to update my Angular to the latest and run ng -g i angular-cli@latest and I received an error that the file...
Read more >Known issues with PaperCut MF, NG, Hive, Pocket and ...
Executive Summary and Printer Statistics produce an error when using some external database types: "No data type for node: org.hibernate.hql.ast.tree.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Remove node_modules folder and reinstall angular cli again. It will resolve the issue
Since 6.1, it really feels like all the commands are not working correctly… I can’t create a component in a specific module anymore via cli, the ng update does not work with PWA, schematics do not work anymore… Everything is f***ed up, and it’s been 3 weeks. What the hell are they doing ?..