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

Why python dependency? #27

Closed
AlenPelin opened this issue Oct 15, 2016 · 5 comments
Closed

Why python dependency? #27

AlenPelin opened this issue Oct 15, 2016 · 5 comments

Comments

@AlenPelin
Copy link

The project seems to be dependent on python to run which is absolutely nonsense as nodejs is already a web server. Without installed python the simplest-redux-example just doesn't work which is somewhat hilarious.

@jackielii
Copy link
Owner

Hi, thanks for bring this up.

I have answer this question in another issue. Adding a node http server adds another dependency in the package.json file. For a beginner, it's another thing to wonder about.

The reason to use python is that it's widely available.

If we can use an http server without introduce any dependency, I'd be happy to accepted.

@AlenPelin
Copy link
Author

Apologize for duplicate question, didn't notice. I'm not sure if it is possible without any extra dependency, but we can eliminate python dependency so the balance will be kept.

@wedneyyuri
Copy link

@jackielii Python is not widely available in Windows enviroments, I see no problem adding http-server as a devDependency.

@jackielii
Copy link
Owner

cool, can you send a PR

On Thu, Oct 20, 2016 at 12:30 PM, Wédney Yuri notifications@github.com
wrote:

@jackielii https://github.com/jackielii Python is not widely available
in Windows enviroments, I see no problem adding http-server
https://www.npmjs.com/package/http-server as a devDependency.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWCF9DFv-Sn9UOKCYSujxcOjbOgthyaks5q11DqgaJpZM4KXqcC
.

Jackie

@LuckyMona
Copy link

I have installed python and added it to environment variable. But when I type "npm start", localhost:8000 is still not work, any suggestions?

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