-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
exception afer upgrading to v2 #1038
Comments
Hey, I took a quick look and can't find anything obvious (especially that error is a bit weird). I wonder if this could have something to do with the babel compilation result? |
Don’t think so... downgrading to pre-2.0.0 works fine. Can I provide more info? |
Oh rather that babel is choking on THIS package? hmm.... |
I have same problem when I upgrade to v2.x and use |
I know why it will throw function App(args, options) {
_classCallCheck(this, App);
...
} This does not use I build a temporary package with |
I ask in {
presets: [
['env', {
targets: {
node: true
}
}]
]
} This will not transform |
Ran into this same issue while using typescript (no babel). Downgrading to pre 2.x seems to have fixed it. |
I've also run into the same issue, downgrading has helped me as well |
For those using typescript change your compiler options to target ES2015 |
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days |
I have a custom generator here.
For whatever reason, v2.0.0 of this package is causing the failure below. v1.1.1 does not exhibit this behavior.
It should be noted that the
src/
dir is not where my generators live! They are transpiled by babel and put intogenerators/
. Removingsrc
from myfiles
property ofpackage.json
has no effect; I still get this error.My generator is linked to my global Node install. This is Node v8.5, yeoman v2.0.0, macOS.
The text was updated successfully, but these errors were encountered: