Closed radiovisual closed 8 years ago
@radiovisual Thank you for reporting. To run with Babel 6, you need to install babel-plugin-espower 2.0.0 or above.
The message babel.Transformer is not a function
indicates that babel-plugin-espower 1.1.0 is running.
Please make sure to install babel-plugin-espower 2.0.0.
For example, by deleting node_modules
and running npm install --save-dev babel-plugin-espower
again.
@twada , Thanks for the quick response, I really appreciate it!
Your suggestion worked. As soon as I re-installed the latest version and removed all traces of the old version from my node_modules
directory the problem went away.
Thanks again! :smile:
@radiovisual Glad to hear that! :smiley:
When I run this command to transpile via babel:
babel lib --out-dir=dist
I get the following error:
I am using the following babel packages/plugins:
I read your warning that Babel 5 needs to use the older release of the plugin:
babel-plugin-espower@1.1.0
, but I am using Babel 6.x in my app, but my attempt to transpile always ends in this error.Any ideas?