Local server by PythonJS
<p>I downloaded this 
<a href="https://github.com/PythonJS/pythonjs-demo-server-nodejs" rel="nofollow">demo server</a>.
I follow the instruction, so</p>

<blockquote>
  <p>First, git clone this repo, and then run: npm install python-js. Now you are ready to run the server, run: ./run-demo.js and then open your browser to localhost:8080.</p>
</blockquote>

<p>Unfortunately I can't run run-demo.js beacuse I have this error</p>

<pre><code>---------------------------
Windows Script Host
---------------------------
Line:   1
Character:  1
Error:  Invalid character
Code:   800A03F6
Source:     Microsoft JScript - compilation error
</code></pre>

<p>I try to run this by node.js console but have only "..." and nothing happend.</p>

<p>This is code of run-demo.js:</p>

<pre><code>#!/usr/bin/env node
var fs = require('fs')
//var pythonjs = require('../PythonJS/pythonjs/python-js')
var pythonjs = require('python-js')
var pycode = fs.readFileSync( './server.py', {'encoding':'utf8'} )
var jscode = pythonjs.translator.to_javascript( pycode )
eval( pythonjs.runtime.javascript + jscode )
</code></pre>

<p>Any ideas? I want to run local server and use PythonJS</p>

<p>If anyone else will be looking for solution, here is it:</p>

<pre><code>node run-demo.js
</code></pre>

<p>Simple as... ;)</p>

javascript python node.js server