Closed neekers closed 5 years ago
@neekers I'm getting the same error with Angular cli. Were you able to find any solution / work around? Thanks.
@harshabonthu I was getting the same error. Was working for ng build, but not ng e2e. I believe protractor does not include the polyfill correctly. Was able to work around by adding import 'reflect-metadata'; to each file that had a reference to Reflect.
@neekers probably typescript cannot be found Reflect
namespace. Try install reflect-metadata
library. Just write npm i -S reflect-metadata
and try again
I was helped by the installation package for babel: @babel/preset-typescript
.
Hi @iliyaZelenko Could you tell me how you applied babel with cucumber-ts-flow?
Trying to set this whole thing up using Angular-CLI and protractor and cucumber and TypeScript.
I have my steps file there and it seems to be looking at it, but now I get this error
It's a very simple test. I get the error 3 times. Seems to correlate with the method decorators
protractor-cucumber-framework@1.0.1 protractor@5.1.1 @angular@2.4.9 ts-node@2.1.0 cucumber@1.3.1 typescript@2.0.10