I am using universal-starter as backbone.
When my client starts, it read a token about user info from localStorage.
@Injectable() export class UserSe
Solved "getItem undefined" issue by below lines :
if(window.localStorage){ return window.localStorage.getItem('user'); }