amitmahida92 / ng4-loading-spinner

Angular 4 custom async loading spinner.
MIT License
69 stars 31 forks source link

Unexpected value 'Ng4LoadingSpinnerModule' imported by the module 'AppModuleShared'. Please add a @NgModule annotation #16

Closed noumanbhatti closed 6 years ago

noumanbhatti commented 6 years ago

I'm trying to use it with Angular5 and receiving this error in console.

I exactly followed the steps mentioned here https://www.npmjs.com/package/ng4-loading-spinner

MBleandrocristianini commented 6 years ago

Hi,

I solved installing it again after upgrading to Angular5

npm i ng4-loading-spinner --save

eappell commented 6 years ago

I'm running it with Angular 5, and I've tried uninstalling and reinstalling several times, but I just keep getting that same error.

MBleandrocristianini commented 6 years ago

try remove node_modules folder inside "node_modules/ng4-loading-spinner" folder

amitmahida92 commented 6 years ago

Hello @noumanbhatti and @eappell ,

I have fixed this issue in version 1.1.1. Please update to the latest version and please do let me know if you face the same issue.

Thanks.