dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

compatibility issues when using JXCore. #205

Closed ghost closed 7 years ago

ghost commented 7 years ago

trying to start the app with JXCore results in:

`const vorpal = require("vorpal")();
   ^^^^^
SyntaxError: Use of const in strict mode.`
MatthieuLemoine commented 7 years ago

@ozzie1998 Use var vorpal = require('vorpal')(); instead

ghost commented 7 years ago

Any idea what could cause the slow startup? it takes a good few seconds to start.

MatthieuLemoine commented 7 years ago

It depends on your app, your computer, your CPU load...

My app takes between 1s and 4s to start. It includes parsing and execution time.

ghost commented 7 years ago

Okay, thank you. I guess a 1.7ghz is not the best then.