-
-
Notifications
You must be signed in to change notification settings - Fork 238
Babel transform class properties, what's wrong? #85
Comments
@direct-fuel-injection |
|
@direct-fuel-injection
be
|
That issue is coming from babel, no fusebox trace back is here |
@nchanged he has syntax error above as i mentioned |
@devmondo webpack + babel works with that code fine. |
But if you get a babel error that means that fuse has nothing to do with it |
@nchanged looks like babel-preset-stage-0 not included. |
@devmondo babeljs.io/repl transformed code. |
state = {} added this line to react-example demo code, samer error. |
@nchanged do we use |
@direct-fuel-injection do you have repo so we can reproduce this ? |
@devmondo no it skips it ... |
@nchanged then most probably it is not fuse! as fuse dont modify the source code. any ways if @direct-fuel-injection provide repo we will see if we can reproduce it. |
@direct-fuel-injection config is fed to babel-core as is. Make sure you have it all installed (plugins, presets). And yes, if nothing helps we are ready to help as soon as you give us some sample code. |
@nchanged, @devmondo forked react-example.
|
@direct-fuel-injection , i downloaded your fork and after lots of testing, i found the problem. you did not install |
@devmondo I've found that |
@direct-fuel-injection i just tested it and it runs fine without error, again try to delete fuse cache folder and node_modules folder and start from scratch and let us know. |
@devmondo after cache cleared same error. |
@nchanged do you have any idea about why this would cause sourcemaps errors with @direct-fuel-injection ? on my machine, i tested with source maps, and everything looks fine and i get no errors. @direct-fuel-injection, if you get the same error even after installing babel preset and removing cache, then there is something really odd!!! i attached screen shot to show you it is working |
@devmondo turn off sourcemaps, or update to latest commit in my fork of react-example. |
Experiencing this on v1.3.115
offending js
error output
|
And.... please disregard... had the wrong syntax for class properties. mea culpa |
Have u tried nuking? (Cache) |
Hello. Gulp task code:
Error:
The text was updated successfully, but these errors were encountered: