Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Webpack tutorial fails with reflect-metadata failure when running unit tests #2317

Closed
dparish opened this issue Sep 12, 2016 · 2 comments
Closed
Assignees

Comments

@dparish
Copy link

dparish commented Sep 12, 2016

I've followed the webpack introduction as closely as possible. Everything runs except the unit tests.

When they run I get:

PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  reflect-metadata shim is required when using class decorators
  at /Users/dparish/dev/projects/bp3-angular-spring-seed/frontend/config/karma-test-shim.js:10519 <- webpack:///~/@angular/core/bundles/core.umd.js:697:0

If this works for you perhaps I fat fingered something? If I did, it would be great if the working source of the webpack introduction was hosted some someone like me can see that it should work and compare with what we created.

@Foxandxss
Copy link
Member

Yes, will fix tomorrow.

@dparish
Copy link
Author

dparish commented Sep 12, 2016

@Foxandxss thank you, I'm glad it's not just me...

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

2 participants