Closed sgodwin424 closed 8 years ago
@sgodwin424 hey, this is the 2nd time I've been unable to replicate one of your bug reports, I wonder if you have something misconfigured in your .babelrc
or in the options passed to babel.register()
, or whether something in my configuration is masking the issues. Please could you do me a massive favour and create a repo with your babel config which replicates this issue?
See https://github.com/codemix/babel-plugin-typecheck/pull/72
I've created a repo at https://github.com/sgodwin424/typecheck-bug-test. Something is definitely wrong, I've tested it on two separate computers and am getting the same error. Hopefully it's just a simple configuration error, but I can't seem to find anything wrong with what I have setup.
Just do:
npm install
node bar
Also, just to be thorough, my node version is 5.1.0.
@sgodwin424 thanks! looking into this now
I am running into a similar situation as in #68 where I receive an error trying to use the babel require hook, while I do not simply using babel-cli.
The following example:
And the error is: