Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocalStorage 0.4.0 with Angular2 FINAL #61

Open
SenanuFC opened this issue Sep 15, 2016 · 12 comments
Open

LocalStorage 0.4.0 with Angular2 FINAL #61

SenanuFC opened this issue Sep 15, 2016 · 12 comments

Comments

@SenanuFC
Copy link

SenanuFC commented Sep 15, 2016

Just upgraded my project from RC5 to the FINAL.
Deleted the 'node modules' folder and run npm install. flawless

NOT!!! Only have this to solve.

Error:(46, 9) TS2305: Module '"C:/Users/scrat/Documents/GitHub/ang-ts - Admin VWifi/node_modules/@angular/core/src/facade/lang"' has no exported member 'Type'.

Error:(47, 9) TS2305: Module '"C:/Users/scrat/Documents/GitHub/ang-ts - Admin VWifi/node_modules/@angular/core/src/di"' has no exported member 'provide'.

@clementbrunel
Copy link

Same problem here. Some Branches have done the upgrade https://github.com/marcj/angular2-localstorage/network
but i would like to stay with master....
The ownership of the repo has been transferred?

@dranes
Copy link
Contributor

dranes commented Sep 23, 2016

@SenanuFC @clementbrunel the package has been updated to Angular final release like 4 hours ago.

@clementbrunel
Copy link

I think you should publish a new release with this tag :)

@merobal
Copy link

merobal commented Sep 26, 2016

@dranes @marcj +1 I'm also waiting for a new (npm) release with your update.

@kosbr
Copy link

kosbr commented Sep 28, 2016

Could you show me the way how to import angular2-localstorage to angular 2.0.0 application? I expect it to have some module for import.
imports: [ LocalStorageModule]

@albertosam
Copy link

+1
I'm also waiting for a new (npm) release with your update

@Gillardo
Copy link

any news on this?? I would like to use this module in my app

@marcj
Copy link
Owner

marcj commented Sep 29, 2016

I'm going to invest some time tonight CEST.

@dranes
Copy link
Contributor

dranes commented Sep 30, 2016

@kosbr in you app.module.ts import LocalStorageService and LocalStorageSubscriber

import { LocalStorageService, LocalStorageSubscriber } from 'angular2-localstorage/LocalStorageEmitter';

and then in providers

providers: [ LocalStorageService]

it worked for me

@kmoroe22
Copy link

@marcj Hey there, any news on the new release? The latest npm registry version is 0.4.0 and I am still getting the same bug as @SenanuFC.

@owen26
Copy link

owen26 commented Feb 7, 2017

Anyone who's still struggling with the various compatibility issues for this project, consider use the following one instead. It took me a while to find this replacement.
https://github.com/PillowPillow/ng2-webstorage

@chopada
Copy link

chopada commented Apr 7, 2017

See solution of this issue = > has no exported member 'provide' or 'Type'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests