Feature(scope): Support Angular v14
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Which Transloco package(s) will this feature affect?
Transloco
Is your feature request related to a problem? Please describe
Transloco Schematics do not work with new Angular 14 project. Steps to reproduce:
- Install latest Angular CLI
npm install -g @angular/cli
- Create new Angular v14 project
ng new my-first-project
- Try to add Transloco
ng add @ngneat/transloco
- Installation will fail to error
Cannot read properties of undefined (reading 'projectType')
$ ng add @ngneat/transloco
Skipping installation: Package already installed
? 🌍 Which languages do you need? en, es
? 🚀 Are you working with server side rendering? No
Cannot read properties of undefined (reading 'projectType')
Describe the solution you’d like
Add support to Angular v14. (Something schematics related probably broke in latest releases)
Describe alternatives you’ve considered
Alternative provide guide how to add Transloco without schematics to Angular v14.
Additional context
Not sure if related but angular-cli
version 14.0.0 had breaking change with @angular-devkit/schematics-cli
that says camel case arguments are no longer allowed.
https://github.com/angular/angular-cli/blob/main/CHANGELOG.md#1400-2022-06-02
I would like to make a pull request for this feature
No
Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:19 (8 by maintainers)
Top Results From Across the Web
Angular v14 is now available!
v14 adds support for passing in an optional injector when creating an embedded view through ViewContainerRef.createEmbeddedView and TemplateRef.
Read more >Angular Roadmap
Angular receives a large number of feature requests, both from inside Google and from the broader open-source community. At the same time, ...
Read more >Update Angular to v15
Angular v15 brings many improvements and new features. ... a component definition whose scope name is host-my-cmp , a @keyframes rule with a...
Read more >Angular v15 is now available!
In v14 we introduced new standalone APIs which enable developers to build applications without using NgModules. We're happy to share that ...
Read more >Upgrading from AngularJS to Angular
In this example application, each controller, component, service, and filter is in its own source file. Folders-by-Feature Structure
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
i’m having the same issue, it seems the default project cannot be detected anymore.
using the
--project
argument fixes it :passing project argument does not seem to work for me.