Open atodkar opened 7 years ago
Hi, I would like to know how you are using it! What version of the angular 4 or 2, are you using angular-cli
Thank you for the reply.
I am using Angular 4.1.3 and importing the DatePickerModule module in my module. As per your example, I also have FormsModule included after DatePickerModule. I am getting this issue while building with ng serve.
Thanks
I will test this version and try to simulate this error so that we can solve them.
Same issue with Angular2 also. I'm using Angule 2.0.3. angular-cli: 1.0.0-rc.0.
+1
Has this issue been resolved? I'm getting the same error. Using Angular Cli and<app-root ng-version="2.4.10".
I've got the same issue using Angular 4, here is the version info:
_ _ ____ _ ___
/ \ | | / | | | | / △ \ | ' \ / ` | | | | |/ ` | '| | | | | | | / | | | | (| | || | | (| | | | |__| | | | // __| ||_, |_,||_,|| __|__|| |/ @angular/cli: 1.3.0 node: 6.11.2 os: win32 x64 @angular/animations: 4.3.4 @angular/common: 4.3.4 @angular/compiler: 4.3.4 @angular/core: 4.3.4 @angular/forms: 4.3.4 @angular/http: 4.3.4 @angular/platform-browser: 4.3.4 @angular/platform-browser-dynamic: 4.3.4 @angular/router: 4.3.4 @angular/cli: 1.3.0 @angular/compiler-cli: 4.3.4 @angular/language-service: 4.3.4
I have the same problem. Any one resolve this issue?
Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in /media/murilo/ironmukeka/projetos/CAS/fise-portal/fise-portal-web/src/main/frontend/node_modules/ng2-datepicker-bootstrap/node_modules/@angular/core/core.d.ts, resolving symbol DatePickerModule in /media/murilo/ironmukeka/projetos/CAS/fise-portal/fise-portal-web/src/main/frontend/node_modules/ng2-datepicker-bootstrap/src/app/datepicker.module.ts, resolving symbol DatePickerModule in /media/murilo/ironmukeka/projetos/CAS/fise-portal/fise-portal-web/src/main/frontend/node_modules/ng2-datepicker-bootstrap/src/app/datepicker.module.ts
As I understood the author has gone away and repo is dead.
Hi, the repository is not dead. At the moment I did not have enough time to make the changes as soon as I complete them I will update the project.
With latest code i am getting below error. Not sure if i am doing something wrong while importing DatePickerModule.
ERROR in Error encountered resolving symbol values statically. Calling function '?makeDecorator', function calls are not supported. Consider replacing the funct ion or lambda with a reference to an exported function, resolving symbol NgModul e in C:/dashboard/node_modules/ng2-datepicker-bootstrap/node_modules/@angular/core/core.d.ts, resolving symbol DatePickerModule
Also, the README says we should use different version for 2.X and 4.X but i see only one version, 1.0.0.0.?
Kindly help.