Open memark opened 7 years ago
After upgrading to Angular 4 I get the following error........................
ERROR in 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 C:/webroot/ceto-cli -ng4/node_modules/angular2-datatable/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in C:/webroot/ceto-cli -ng4/node_modules/angular2-datatable/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in C:/webroot/ceto-cli -ng4/node_modules/angular2-datatable/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in C:/webroot/ceto-cli -ng4/node_modules/angular2-datatable/node_modules/@angular/core/index.d.ts, resolving symbol DataTableModule in C:/webroot/ceto-cli -ng4/node_modules/angular2-datatable/lib/DataTableModule.d.ts, resolving symbol DataTableModule in C:/webroot/ceto-cli -ng4/node_modules/angular2-datatable/lib/DataTableModule.d.ts
Any solution would be most helpful.
UPDATE: I ran the npm i -S angular2-datatable and upgraded to 6.0.0 and it worked fine.
Had the same problem here, and upgrading to 6.0.0 solved it.
@bsartain @danielptm 6.0.0 ?
I am using 0.6.0 with Angular-4.0.3 and I am facing the same error as specified by @bsartain
@dinusuresh Had the same issue. I was also using 0.6.0 with Angular-4.0.3.
I removed my node_modules folder and ran npm install
everything worked fine.
It seems you have borrowed this thread. It's supposed to be about the package dependency problem. :)
But still, is there no developer reading/answering?
I have sent a very basic PR for this issue, just upgrading the peerDependencies. Would you be able to take a look at it @mariuszfoltak?
Starting to wonder if this project is all dead by now. :/
@memark sorry I haven't had a chance to reply. Life get's in the way. If it's any encouragement, this project has done great things for our application. I can't thank you enough for it.
I upgraded to 0.6.0 and issue fixed. "angular2-datatable": "^0.6.0"
Promising project, but if you can not use it in a current Angular 4.x environment, there is not much use :/
When trying to use version 0.6.0 with Angular 4 I get warnings of unmet dependencies. Are there any plans to support Angular 4? Or is it perhaps already supported, but the dependencies need to be upgraded? (Maybe something like
^2.0.0 | ^4.0.0
?)