Closed visualsayed closed 3 years ago
My OS: is windows 10 64
Hi,
./dexcalibur
is a bash script wrapping 'node ...'.
So, on Windows, you should execute ./dexcalibur.js
instead of ./dexcalibur
.
Be aware, Dexcalibur has not been tested on windows.
Thanks @FrenchYeti :-)
I got this error:
Error: Cannot find module '../build/Release/node_xz.node' Require stack:
Actually, you cannot use Dexcalibur as-is on Windows.
For Windows users, node_xz
is the main issue but it exists a simple workaround : By following this comment https://github.com/FrenchYeti/dexcalibur/issues/35#issuecomment-783363513 you could be able to make change and install Dexcalibur properly on Windows.
Windows is now supported by version >= 0.7.10
However, dexcalibur must be launched directly by calling it with "node" like that node <FULL_PATH>/dexcalibur.js
.
Given this command:
I get the following error:
\AppData\Roaming\npm\node_modules\dexcalibur\dexcalibur:5 if [ $# = 2 ] && [ $1 = "--max-heap" ] && [ $2 -ge 1024 ] ^
SyntaxError: Unexpected token '[' [90m at wrapSafe (internal/modules/cjs/loader.js:979:16)[39m [90m at Module._compile (internal/modules/cjs/loader.js:1027:27)[39m [90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)[39m [90m at Module.load (internal/modules/cjs/loader.js:928:32)[39m [90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)[39m [90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)[39m [90m at internal/main/run_main_module.js:17:47[39m