angular2-example icon indicating copy to clipboard operation
angular2-example copied to clipboard

Error after installing missing @angular/cdk

Open sumit2201 opened this issue 8 years ago • 3 comments

Can you please help regarding following error, it occured after installing missing @angular/cdk package

Uncaught Error: Unexpected value 'undefined' imported by the module 'CovalentLoadingModule' at syntaxError (vendor.js:sourcemap:5723) at vendor.js:sourcemap:18683 at Array.forEach () at CompileMetadataResolver.getNgModuleMetadata (vendor.js:sourcemap:18660) at CompileMetadataResolver.getNgModuleSummary (vendor.js:sourcemap:18602) at vendor.js:sourcemap:18675 at Array.forEach () at CompileMetadataResolver.getNgModuleMetadata (vendor.js:sourcemap:18660) at JitCompiler._loadModules (vendor.js:sourcemap:29813) at JitCompiler._compileModuleAndComponents (vendor.js:sourcemap:29772)

sumit2201 avatar Oct 28 '17 09:10 sumit2201

You are probably using the latest version, we need to update it, I tried - something is broken (the api has changed) I am no expert in angular unfortunately

nchanged avatar Oct 28 '17 14:10 nchanged

thank you for your reply, I made it work by removing CovalentLoadingModule from material imports in app.module.ts file for now. May be issue is due to some breaking changes in beta version libraries we are using. So I am not worried about it now. It is a great example in order to start development quickly using Fuse Box + Angular 4 . So once again thank you so much for this.

sumit2201 avatar Oct 29 '17 07:10 sumit2201

@sumit2201 no worries, you think you can fix the existing example with the latest versions?

nchanged avatar Oct 29 '17 08:10 nchanged