minimal-reproduction's People
minimal-reproduction's Issues
error NG8002: Can't bind to 'formGroup' since it isn't a known property of 'form'.
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
I'm getting following error
Error: projects/my-lib/src/lib/my-lib.component.html:1:7 - error NG8002: Can't bind to 'formGroup' since it isn't a known property of 'form'.
After running ng test
command although I import ReactiveFormsModule in TestBed.configureTestingModule method.
Steps to reproduce:
- git clone https://github.com/arekgotfryd/minimal-reproduction
- cd minimal-reproduction
- npm i
- ng test
Please provide a link to a minimal reproduction of the bug
https://github.com/arekgotfryd/minimal-reproduction
Please provide the exception or error you saw
Error: projects/my-lib/src/lib/my-lib.component.html:1:7 - error NG8002: Can't bind to 'formGroup' since it isn't a known property of 'form'.
1 <form [formGroup]="linkingForm">
~~~~~~~~~~~~~~~~~~~~~~~~~
projects/my-lib/src/lib/my-lib.component.ts:6:16
6 templateUrl: './my-lib.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component MyLibComponent.
Please provide the environment you discovered this bug in (run ng version
)
Angular CLI: 11.2.18
Node: 14.18.2
OS: win32 x64
Angular: 11.2.14
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1102.18
@angular-devkit/build-angular 0.1102.18
@angular-devkit/core 11.2.18
@angular-devkit/schematics 11.2.18
@angular/cli 11.2.18
@schematics/angular 11.2.18
@schematics/update 0.1102.18
ng-packagr 11.2.4
rxjs 6.6.7
typescript 4.1.6
webpack 4.19.1
Anything else?
Link to screenshot from terminal:
Screenshot
IssueHunt Summary
Backers (Total: $0.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.