Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Cannot find type definition file for 'chai' error #11

Open
ydogandjiev opened this issue Nov 14, 2016 · 1 comment
Open

Cannot find type definition file for 'chai' error #11

ydogandjiev opened this issue Nov 14, 2016 · 1 comment

Comments

@ydogandjiev
Copy link

In the module-1 branch when I run npm install and then npm start I get the following errors in the console:

ERROR in [default] C:\Users\yurid\retain-app\node_modules\rxjs\observable\PairsObservable.d.ts:1:0
Cannot find type definition file for 'chai'.

ERROR in [default] C:\Users\yurid\retain-app\node_modules\rxjs\observable\dom\AjaxObservable.d.ts:1:0
Cannot find type definition file for 'chai'.

They don't seem the be critical thou since the build still completes fine and runs the server too. I still think it would be good to figure out what the issue is and make sure the module builds fine without any errors.

@ydogandjiev
Copy link
Author

Pulling in the @types/chai dependency seems to have resolved the issue but I am not sure whether that's the best solution. Here is what I ran:

npm install --save-dev @types/chai

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

No branches or pull requests

1 participant