rxjs: Cannot find type definition file for 'chai'
Edit: fixed in rc4
New in rc.2:
C:\projects\dayapp\node_modules\rxjs\observable\PairsObservable.d.ts Error:(1, 1) TS2688: Cannot find type definition file for ‘chai’. C:\projects\dayapp\node_modules\rxjs\observable\dom\AjaxObservable.d.ts Error:(1, 1) TS2688: Cannot find type definition file for ‘chai’.
workaround
npm install --save-dev @types/chai
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 22
- Comments: 22 (12 by maintainers)
Commits related to this issue
- fix(Observable): remove unexpected dev dependency type references - closes #2112 — committed to kwonoj/rxjs by kwonoj 8 years ago
- fix(Observable): remove unexpected dev dependency type references - closes #2112 — committed to kwonoj/rxjs by kwonoj 8 years ago
- fix(Observable): remove unexpected dev dependency type references - closes #2112 — committed to kwonoj/rxjs by kwonoj 8 years ago
- fix install error for "missing definition of chai" https://github.com/ReactiveX/rxjs/issues/2112 — committed to swizardlv/learning-rxjs by swizardlv 8 years ago
- fix install error for "missing definition of chai" https://github.com/ReactiveX/rxjs/issues/2112 — committed to Brooooooklyn/learning-rxjs by swizardlv 8 years ago
- chore(package.json): supply third party type definition via typings - closes #2112 — committed to kwonoj/rxjs by kwonoj 8 years ago
- chore(package.json): supply third party type definition via typings - closes #2112 — committed to ReactiveX/rxjs by kwonoj 8 years ago
- Work around rxjs issue 2112 https://github.com/ReactiveX/rxjs/issues/2112 — committed to tobymurray/recipe-book by tobymurray 8 years ago
- chore(package): update rxjs to 5.0.0-rc.4 * Fix an issue with `chai` `@types`. ref: ReactiveX/rxjs#2112 — committed to michaeljota/angular2-ultimate-starter by deleted user 8 years ago
I can confirm this error in RC3. Still
PairsObservable.d.ts(1,1): error TS2688: Cannot find type definition file for ‘chai’. AjaxObservable.d.ts(1,1): error TS2688: Cannot find type definition file for ‘chai’.
error on compile.
I believe this issue is fixed with latest rc.4 package publish.
@here it is known and reproducible issue with latest package and currently expected to resolve in next package publish.
@karlbohlmark I think we will.