You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
specs:
Win 10 Pro 64bit version 1903 build 18362.295
Chrome 76.0.3809.132 (official build) (64 bits)
To recreate:
create a new angular project with angular cli.
add amazing-date-picker to this new project.
follow the instructions in the readme and use the component.
ng serve --aot fails with: ERROR in : Unexpected value 'AmazingTimePickerModule in {projectPath}/node_modules/amazing-time-picker/amazing-time-picker.d.ts' imported by the module 'AppModule in {projectPath}/src/app/app.module.ts'. Please add a @NgModule annotation.
ng serve will succeed with warnings:
WARNING in ./node_modules/amazing-time-picker/node_modules/@angular/core/fesm5/core.js 27315:15-36
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/amazing-time-picker/node_modules/@angular/core/fesm5/core.js 27327:15-102
Critical dependency: the request of a dependency is an expression
going to localhost:4200 (default settings for ng serve) produces this error:
ERROR Error: StaticInjectorError(AppModule)[AtpDirective -> ViewContainerRef]:
StaticInjectorError(Platform: core)[AtpDirective -> ViewContainerRef]:
NullInjectorError: No provider for ViewContainerRef!
at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:8896)
at resolveToken (core.js:9141)
at tryResolveToken (core.js:9085)
at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:8982)
at resolveToken (core.js:9141)
at tryResolveToken (core.js:9085)
at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:8982)
at resolveNgModuleDep (core.js:21218)
at NgModuleRef_.push../node_modules/@angular/core/fesm5/core.js.NgModuleRef_.get (core.js:21907)
at resolveDep (core.js:22278)
The text was updated successfully, but these errors were encountered:
specs:
Win 10 Pro 64bit version 1903 build 18362.295
Chrome 76.0.3809.132 (official build) (64 bits)
To recreate:
ng serve --aot fails with:
ERROR in : Unexpected value 'AmazingTimePickerModule in {projectPath}/node_modules/amazing-time-picker/amazing-time-picker.d.ts' imported by the module 'AppModule in {projectPath}/src/app/app.module.ts'. Please add a @NgModule annotation.
ng serve will succeed with warnings:
going to localhost:4200 (default settings for ng serve) produces this error:
The text was updated successfully, but these errors were encountered: