gilf / angular2-indexeddb

angular2-indexeddb is a library that wraps indexeddb database in an Angular service.
MIT License
88 stars 44 forks source link

Can't resolve all parameters for AngularIndexedDB #32

Closed rishparekh closed 6 years ago

rishparekh commented 7 years ago

Getting below warning while making build

Warning: Can't resolve all parameters for AngularIndexedDB in angular/node_modules/angular2-indexeddb/angular2-indexeddb.ts: (?, ?). This will become an error in Angular v5.x

Will it be problematic when angular is upgraded in future ?

erickyi2006 commented 7 years ago

am using angular4 . no issue.

@angular/cli: 1.0.6
node: 6.10.3
os: win32 x64
@angular/common: 4.2.5
@angular/compiler: 4.2.5
@angular/core: 4.2.5
@angular/forms: 4.2.5
@angular/http: 4.2.5
@angular/platform-browser: 4.2.5
@angular/platform-browser-dynamic: 4.2.5
@angular/router: 4.2.5
@angular/cli: 1.0.6
@angular/compiler-cli: 4.2.5
rishparekh commented 6 years ago

same issue when upgraded angular to 5.0.0-beta.7 build command :- ng build --prod this warning only comes when trying to make production build

gilf commented 6 years ago

I removed the Injectable decorator which isn't necessary anymore. That should fix this problem.