Open m0j0nz0r opened 5 years ago
@m0j0nz0r did you ever find a way to overcome the issue?
@m0j0nz0r did you ever find a way to overcome the issue?
Only partially, Yarn seems to only download latest regardless of what version you tell it to install.
Using npm instead seems to get around the issue, but this is a sub optimal solution.
specs: Win 10 Pro 64bit version 1903 build 18362.295 Chrome 76.0.3809.132 (official build) (64 bits)
To recreate: 1) create a new angular project with angular cli. 2) add amazing-date-picker to this new project. 3) 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:
going to localhost:4200 (default settings for ng serve) produces this error: