Angular You no longer need to import the StorageServiceModule

Error:

You no longer need to import the StorageServiceModule, 
since the SESSION_STORAGE and LOCAL_STORAGE injection tokens 
are now 'self providing' in the root injector.

Solution:

Remove import { StorageServiceModule } from ‘ngx-webstorage-service’; from the app module along with removing StorageServiceModule from imports on app module. The following import is enough to use localstorage/webstorage in angular

import { LOCAL_STORAGE, StorageService } from 'ngx-webstorage-service';