-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error encountered resolving symbol values statically #937
Comments
Update |
What's your |
{
"project": {
"version": "1.0.0-beta.24",
"name": "----"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"prefix": "",
"mobile": false,
"styles": [
----
],
"scripts": [
"../node_modules/jquery/dist/jquery.js",
"../node_modules/datatables.net/js/jquery.dataTables.js"
],
"environments": {
"source": "environments/environment.ts",
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"addons": [],
"packages": [],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "sass",
"prefixInterfaces": false,
"inline": {
"style": false,
"template": false
},
"spec": {
"class": false,
"component": true,
"directive": true,
"module": false,
"pipe": true,
"service": true
}
}
} |
As mentionned in this comment, angular-datatables is compatible with angular-cli version 1.0.0-beta.21, newer versions are not certain. |
@angular/cli is stable at v1.0.0 now and i'm getting this error
|
Are you using angular 4? If so, then angular-datatables is still not compatible with version 4+. |
Sorry to bring this problem up again, but with the latest angular-datatables (4.1.1) and the latest Angular Version (4.2.2) the problem still persists. Building for production throws the following slightly altered error:
Anything I can do about it? Thanx! |
Indeed. I'm checking. |
Mmmh I seem to reproduce the issue with Node version 8.0.0 and NPM version 5.0.0. @pvanhemmen, what versions of Node and NPM are you using? |
Hey thanx for checking back. On my dev machine I have npm 4.2.0 Nonetheless I get the same error on a different setup, where I have npm 4.6.1 Angular + CLI and angular-datatables are up to date: angular/* 4.2.2 Compiling settings are pretty straight forward as they are angular cli default values. If I can help with anything else, please let me know. |
I have the same issue here:
angular: 4.2.2
And i I discovered this issue in angular repository angular/angular#15767 I think my project is specifically breaking because of the angular-datatables.module.d.ts |
@pvanhemmen Your workaround worked for me, thank you!
where was added: |
Thank you, you saved my life |
Documentation added. |
don't know why after adding above code my issue is not resolved for temporary I deleted the node_modue folder inside the angular-datatable folder and its works fine |
@nileshyadav326, what was inside the node_modules folder? What are the versions of the Node and NPM? |
npm version 5.0.1
|
Hello, does anyone know how to change the language? |
Hello, anyone faced following issue?? |
Can anyone help me on how to figure about the issue on not displaying the values in my datatables |
I am facing error after adding the above code ERROR in ./src/main.ts |
I am facing problem of (click) event on FixedColumns in dataTable. When column is fixed or freeze angular click event does not work. However it works if column is not fixed or freeze. Anyone faced similar issue or knows solution for the same ? |
how to apply colors in datatable.? |
How correctly add language to table options on Angular 7 |
Good Mornings, Does any body know how to add "pagination change event"? Thanks in advance. |
@MFahadMuzamil downgrade you angular version to 8 or below.I think you are using angular 9. |
Hello, |
I am facing problem data-table not workable. show me error console and im using angualr 8 |
Using angular 10. |
Did you solve the issue? |
Using:
Console log:
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 /node_modules/angular-datatables/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in /node_modules/angular-datatables/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in /node_modules/angular-datatables/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in /node_modules/angular-datatables/node_modules/@angular/core/index.d.ts, resolving symbol DataTablesModule in /node_modules/angular-datatables/dist/angular-datatables.module.d.ts, resolving symbol DataTablesModule in /node_modules/angular-datatables/dist/angular-datatables.module.d.ts
angular/angular-cli#3707
The text was updated successfully, but these errors were encountered: