Duplicate identifier 'export='.
Hi there, this is my first time write a library for the community. But I get this error while compiling in my project.
ERROR in /Users/crossrt/www/konnected-steps/node_modules/@types/jquery/index.d.ts (3779,5): Duplicate identifier 'export='.
ERROR in /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/node_modules/@types/jquery/index.d.ts (745,5): Duplicate string index signature.
ERROR in /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/node_modules/@types/jquery/index.d.ts (3350,5): Duplicate string index signature.
ERROR in /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/node_modules/@types/jquery/index.d.ts (3351,5): Duplicate number index signature.
ERROR in /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/node_modules/@types/jquery/index.d.ts (3779,5): Duplicate identifier 'export='.
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 /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/node_modules/@angular/core/core.d.ts, resolving symbol Ng2ValidationMessage in /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/index.ts, resolving symbol Ng2ValidationMessage in /Users/crossrt/www/konnected-steps/node_modules/ng2-validation-message/index.ts
I guess this is due to my project and library already installed with jquery type, which causes both project conflict. Any idea to solve this problem?
@crossRT — Is your code available on GitHub? Thanks!
@jvandemo yes. here's my repo https://github.com/Nexstream/ng2-validation-message
@crossRT — I just had a look at your repository.
You are using an old version of the generator. Can you please update to the latest version of the generator and let us know how it goes? Thanks! 👍