node-jsx icon indicating copy to clipboard operation
node-jsx copied to clipboard

issue transforming jsx when using node-fibers

Open svnm opened this issue 9 years ago • 0 comments

I am building an isomorphic site using Fluxxor and React. Using node-jsx for the transforms and it works very well. Just having an issue though now as I have installed node-fibers to try to get around the issue of async data not populating server side on load. https://github.com/facebook/react/issues/1739

node-fibers does not seem to work well with node-jsx though. I get the following error:

Error: Error transforming /var/www/nodeapp/node_modules/fibers/fibers.js to JSX: Error: Parse Error: Line 2: Illegal return statement at Object.require.extensions.(anonymous function) as .js

svnm avatar Apr 29 '15 02:04 svnm