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

Need more description about installation #64

Open
waka1012 opened this issue Aug 12, 2017 · 1 comment
Open

Need more description about installation #64

waka1012 opened this issue Aug 12, 2017 · 1 comment

Comments

@waka1012
Copy link

Thank you for developing such an interesting tool.
Would you please describe the installation process in more detail?
It will help novice to install easily.

On the installation process, you use python to launch an HTTP server,
but a novice of python, like me, struggled with the following points:

  1. I got a python error "No module named SimpleHTTPServer", but I can't predict where it comes from.
  2. Since python distribution Anaconda does not contain SimpleHTTPServer, startup of http server fails at "npm run start".

In this case, instead of SimpleHTTPServer, "python -m http.server 3000" on src/ directory makes possible to start up HTTP server.

The error message is as follows.

$ npm run start

> mindmaps@0.8.0 start /Users/user/Prg/mindmaps
> cd src && python -m SimpleHTTPServer 3000

/Users/user/anaconda/bin/python: No module named SimpleHTTPServer
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mindmaps@0.8.0 start: `cd src && python -m SimpleHTTPServer 3000`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mindmaps@0.8.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2017-08-12T05_43_51_971Z-debug.log
@Chipaway
Copy link

waka1012, would this site help you (8 mos later) or did you resolve the difficulty? http://www.pythonforbeginners.com/modules-in-python/how-to-use-simplehttpserver/ Best.

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

2 participants