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

AOT compilation broken due to wallabyTest.ts #9

Closed
peteralbert opened this issue Feb 23, 2017 · 1 comment
Closed

AOT compilation broken due to wallabyTest.ts #9

peteralbert opened this issue Feb 23, 2017 · 1 comment

Comments

@peteralbert
Copy link
Contributor

peteralbert commented Feb 23, 2017

ng serve -aot results in the following error:

ERROR in Error encountered resolving symbol values statically. Calling function 'NoOpAnimationDriver', function calls are not suppo
rted. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AnimationDriver.NOOP in
.../node_modules/@angular/platform-browser/src/dom/animation_driver.d.ts, resolving sy
mbol BrowserTestingModule in .../node_modules/@angular/platform-browser/testing/browse
r.d.ts, resolving symbol BrowserTestingModule in .../node_modules/@angular/platform-br
owser/testing/browser.d.ts

Excluding wallabyTest.ts in tsconfig.json solves the problem:

  "exclude": [
    "wallabyTest.ts"
  ]

Fix here: #8

See more details on the issue: angular/angular#13624.

@ArtemGovorov
Copy link
Member

Awesome, thanks!

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

2 participants