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

Catch is not function #106

Closed
ivanturbinca opened this issue May 25, 2020 · 1 comment
Closed

Catch is not function #106

ivanturbinca opened this issue May 25, 2020 · 1 comment

Comments

@ivanturbinca
Copy link

When I try to run my tests. I get this error:

Uncaught TypeError: this.generator.run(...).catch is not a function
      at RunContext._run (node_modules/yeoman-test/lib/run-context.js:171:29)
      at listOnTimeout (internal/timers.js:549:17)
      at processTimers (internal/timers.js:492:7)

@ivanturbinca
Copy link
Author

Actually I used the package.json from https://yeoman.io/authoring/index.html which uses version 1.0.0 of yeoman-generator. I updated to version 4.10.1 and everything is ok

@mshima mshima closed this as completed May 25, 2020
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