-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Running ng e2e throws cannot find definition files (rc0) #5082
Comments
I can confirm this! 😢 |
As @adrianchia already pointed out, this
|
I have the same problem after upgrading from 32.8 to rc.0 @angular/cli: 1.0.0-rc.0 e2e\app.e2e-spec.ts (12,5): Cannot find name 'expect'. (2304) |
@filipesilva Do you know why Does the original
Also, there is an issue I found today. |
I tried the repo provided and could verify the errors:
This doesn't happen with either Setting |
I did a bunch of tests and it's not I'll put up a PR that adds it to the root |
TypeScript 2.2 does not infer `typeRoots`, so we need to list them explicitely in the root tsconfig. Fix angular#5082
I looked a bit more into it and it might be a |
TS-Node with TypeScript 2.1+ does not infer `typeRoots`, so we need to list them explicitely in the root tsconfig. Issue for TS-Node: TypeStrong/ts-node#283 Fix #5082
TS-Node with TypeScript 2.1+ does not infer `typeRoots`, so we need to list them explicitely in the root tsconfig. Issue for TS-Node: TypeStrong/ts-node#283 Fix angular#5082
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
Repro steps.
The log given by the failure.
Mention any other details that might be useful.
Setting types in e2e/tsconfig.e2e.json to typeRoot pointing to ../node_modules/@types seems resolve the problem.
The text was updated successfully, but these errors were encountered: