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: ReferenceError: Can't find variable: global #24

Open
BruceDone opened this issue Jan 25, 2016 · 6 comments
Open

Comments

@BruceDone
Copy link

after i run the command

python app.py

i raise this error ,even i search by the google ,but i still can not find any suggestion

any one could help?

@BruceDone
Copy link
Author

i think i find the solution

while i just use python to install the package ,but i may be forget to init the environment ,then i google it and decide to install by the bower can use it

1.install the npm (before you install this ,you have to install the node.js)

https://nodejs.org/en/

2.use the npm to install bower.
npm install -g bower

refer this:http://bower.io/

3.the use the bower to install pyxley

bower install pyxley

then i works ,but as i can see it still don't have the js and css file ,you need to add the file by yourself

@BruceDone
Copy link
Author

by use the bower command you can install the require files with bower.json you see in the folder

@yoyoidea
Copy link

我觉得我们应该可以用中文交流

@BruceDone
Copy link
Author

一般是缺少文件导致的,所以按照我方式做,我在mac上已经成功运行了。

@yoyoidea
Copy link

恩, 我已经解决了

@icfixx
Copy link

icfixx commented Sep 30, 2016

I had the same issue and fixed it by running

pip install PyReact

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

3 participants