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

Error when running karma start #24

Open
rjbergerud opened this issue Jul 5, 2016 · 0 comments
Open

Error when running karma start #24

rjbergerud opened this issue Jul 5, 2016 · 0 comments

Comments

@rjbergerud
Copy link

After running npm install in rxjs/chat, I run karma start and get the following error:

ERROR in /home/rydertana/Documents/Practice/manuscript-35/code/rxjs/chat/node_modules/@angular/core/testing/test_component_builder.d.ts
(74,57): error TS2304: Cannot find name 'Promise'.

ERROR in /home/rydertana/Documents/Practice/manuscript-35/code/rxjs/chat/node_modules/@angular/core/testing/component_fixture.d.ts
(77,19): error TS2304: Cannot find name 'Promise'.

ERROR in /home/rydertana/Documents/Practice/manuscript-35/code/rxjs/chat/node_modules/@angular/http/src/url_search_params.d.ts
(46,16): error TS2304: Cannot find name 'Map'.

ERROR in /home/rydertana/Documents/Practice/manuscript-35/code/rxjs/chat/node_modules/@angular/http/src/headers.d.ts
(45,59): error TS2304: Cannot find name 'Map'.

ERROR in /home/rydertana/Documents/Practice/manuscript-35/code/rxjs/chat/node_modules/@angular/router/src/router.d.ts
(188,43): error TS2304: Cannot find name 'Promise'.

(...)

The output goes on quite a bit, and the tests run fine. Since the tests run fine, is there a way I can at least suppress all of these errors?

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

1 participant