asotog / squeezebox

Simple Angular 2 accordion component
19 stars 8 forks source link

Error resolving symbol SqueezeBoxModule #5

Closed samarism closed 7 years ago

samarism commented 7 years ago

I get the following error when trying to use the component.

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/samar/projects/sacredangle/node_modules/squeezebox/node_modules/@angular/core/src/metadata/ng_module.d.ts, resolving symbol NgModule in /Users/samar/projects/sacredangle/node_modules/squeezebox/node_modules/@angular/core/src/metadata.d.ts, resolving symbol NgModule in /Users/samar/projects/sacredangle/node_modules/squeezebox/node_modules/@angular/core/src/core.d.ts, resolving symbol NgModule in /Users/samar/projects/sacredangle/node_modules/squeezebox/node_modules/@angular/core/index.d.ts, resolving symbol SqueezeBoxModule in /Users/samar/projects/sacredangle/node_modules/squeezebox/index.ts, resolving symbol SqueezeBoxModule in /Users/samar/projects/sacredangle/node_modules/squeezebox/index.ts

On installation of the component I got some unmet dependencies errors. Could these be causing the above issue?

screen shot 2017-02-15 at 8 13 47 am
samarism commented 7 years ago

Update:

The above issue was solved by updating the the angular-cli as per guidelines at this link

asotog commented 7 years ago

thanks so much, i just tried to install the component from a cli project got some issues, so please expect to have a new version soon

asotog commented 7 years ago

npm registry updated with latest version 1.1.4, tested from angular cli project, looking fine now, please try again https://github.com/asotog/squeezebox/commit/8d608a56cd5c5ddb8f7d98535df759362f06edc0 https://github.com/asotog/squeezebox/commit/987768b0be70bb43c6973e33809ef7ba86f581ad

samarism commented 7 years ago

Cool, its working fine now. Thanks for sharing this component :)