phenomnomnominal / angular-2-local-storage

LocalStorageService for Angular 2 with the same API as angular-local-storage
MIT License
93 stars 49 forks source link

rxjs pipe() ? #52

Closed elvisbegovic closed 6 years ago

elvisbegovic commented 6 years ago

im using lib in my project

Angular CLI: 6.0.0-rc.2
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0-rc.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cdk: 6.0.0-rc.1
@angular/cli: 6.0.0-rc.2
@angular/material: 6.0.0-rc.1
@angular-devkit/architect: 0.5.4
@angular-devkit/build-angular: 0.5.4
@angular-devkit/build-optimizer: 0.5.4
@angular-devkit/core: 0.5.4
@angular-devkit/schematics: 0.5.4
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.2.4
@schematics/angular: 0.5.4
@schematics/update: 0.5.4
typescript: 2.7.2
webpack: 4.5.0

it was working on 1.7.4 with 5.x rxjs

today i tried to update to cli rc2 and rxjs rx1 and got this


ERROR in ./node_modules/angular-2-local-storage/dist/local-storage.service.js
Module not found: Error: Can't resolve 'rxjs/Observable' in 'C:...node_modules\angular-2-local-storage\dist'

ERROR in ./node_modules/angular-2-local-storage/dist/local-storage.service.js
Module not found: Error: Can't resolve 'rxjs/Subscriber' in 'C:...node_modules\angular-2-local-storage\dist'

ERROR in ./node_modules/angular-2-local-storage/dist/local-storage.service.js
Module not found: Error: Can't resolve 'rxjs/add/operator/share' in 'C:...node_modules\angular-2-local-storage\dist'

can you maybe update new rxjs syntax using pipe() thanks