dexcalibur
dexcalibur copied to clipboard
Instructions to run on Windows incorrect
Describe the bug Syntax errors in runfiles necessary to start Dexcalibur
To reproduce / to understand
git clone
cd .\dexcalibur
npm -g install .
node C:\Users\kyle\AppData\Roaming\npm\node_modules\dexcalibur\dexcalibur
Solution
Dexcalibur needs to be started with node .\dexcalibur.js
(if installed from local git clone like as above)
Expected behavior For dexcalibur to successfully run
Error log
C:\Users\kyle\Development\_Builds\dexcalibur\dexcalibur:5
if [ $# = 2 ] && [ $1 = "--max-heap" ] && [ $2 -ge 1024 ]
^
SyntaxError: Unexpected token '['
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
Desktop (please complete the following information):
- OS:
Windows 11
- Node JS version:
node --version v12.22.12
npm --version 6.14.16
- Dexcalibur version (see 'package.json' or output) :
master