Skip to content
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

react.jsx.TransformError??? #19

Closed
qichaotang opened this issue Nov 16, 2015 · 4 comments
Closed

react.jsx.TransformError??? #19

qichaotang opened this issue Nov 16, 2015 · 4 comments

Comments

@qichaotang
Copy link

I run four examples,but it always -->react.jsx.TransformError, I can't make it,I need help!!!

@nmkridler
Copy link
Contributor

Can you please outline the steps you took and your setup? If it's failing to transform the react code, you may be missing libraries.

@qichaotang
Copy link
Author

Thanks your reply,I have made it by using Centos,before,I use the WIn10,I run four examples,but I feel uncertain.For example,while running custom_react, how to determine x-axis,and ID isn't x-axis!

@yoyoidea
Copy link

hi, nmkridler, I have made it by using OS X, have the same question:

/usr/bin/python /Users/yoyo/Documents/pyxley-master/examples/datamaps/project/app.py
Traceback (most recent call last):
File "/Users/yoyo/Documents/pyxley-master/examples/datamaps/project/app.py", line 55, in
sb = ui.render_layout(app, "./static/layout.js")
File "build/bdist.macosx-10.11-intel/egg/pyxley/ui.py", line 135, in render_layout
File "build/bdist.macosx-10.11-intel/egg/pyxley/react_template.py", line 95, in init
File "build/bdist.macosx-10.11-intel/egg/pyxley/react_template.py", line 34, in to_js
File "/Library/Python/2.7/site-packages/react/jsx.py", line 45, in transform_string
raise TransformError(str(e))
react.jsx.TransformError: ReferenceError: Can't find variable: global

but , before, I used win8, it was OK , I don't know why.

@BruceDone
Copy link

hi yoyo ,you may the same problem i solved yesterday ,please refer my question:
#24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants