livepython icon indicating copy to clipboard operation
livepython copied to clipboard

livepython fails with "SyntaxError: Unexpected token {"

Open ChillarAnand opened this issue 6 years ago • 1 comments

livepython foo.py 
/usr/local/lib/node_modules/livepython/bin/livepython:27
const { spawn } = require("child_process");
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3

ChillarAnand avatar Feb 15 '18 09:02 ChillarAnand

I am facing the same issue. Any help will be appreciated.

abhishekgupta92 avatar Oct 20 '18 01:10 abhishekgupta92