ng2-fancy-image-uploader
ng2-fancy-image-uploader copied to clipboard
Unexpected value 'FancyImageUploaderModule' imported by the module 'AppModuleShared'. Please add a @NgModule annotation
I was trying to use this module(latest version 2.0.1) for image upload but facing the following issue in Angular 5.
Dependencies:-- "angular/animations": "^5.0.0", "angular/cli": "1.5.0", "angular/common": "^5.0.0", "angular/compiler": "^5.0.0", "angular/compiler-cli": "^5.0.0", "angular/core": "^5.0.0", "angular/forms": "^5.0.0", "angular/http": "^5.0.0", "angular/language-service": "^5.0.0", "angular/platform-browser": "^5.0.0", "angular/platform-browser-dynamic": "^5.0.0", "angular/platform-server": "^5.0.0", "angular/router": "^5.0.0", "ngtools/webpack": "1.8.0", "types/jasmine": "~2.5.53", "types/jasminewd2": "~2.0.2", "types/node": "~6.0.60", "types/webpack-env": "1.13.0", Error:-- An unhandled exception occurred while processing the request. NodeInvocationException: Unexpected value 'FancyImageUploaderModule' imported by the module 'AppModuleShared'. Please add a @NgModule annotation. Error: Unexpected value 'FancyImageUploaderModule' imported by the module 'AppModuleShared'. Please add a @NgModule annotation. at Error (native) at syntaxError (C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:26914:34) at C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:40598:44 at Array.forEach (native) at CompileMetadataResolver.module.exports.CompileMetadataResolver.getNgModuleMetadata (C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:40581:49) at CompileMetadataResolver.module.exports.CompileMetadataResolver.getNgModuleSummary (C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:40523:52) at C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:40596:72 at Array.forEach (native) at CompileMetadataResolver.module.exports.CompileMetadataResolver.getNgModuleMetadata (C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:40581:49) at JitCompiler.module.exports.JitCompiler._loadModules (C:\projects\calypso-web\Calypso\Web.UI\ClientApp\dist\vendor.js:51904:70)