Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to run on Windows incorrect #72

Open
kylemd opened this issue Nov 7, 2022 · 0 comments
Open

Instructions to run on Windows incorrect #72

kylemd opened this issue Nov 7, 2022 · 0 comments
Assignees
Labels
FAQ Issue to move into future FAQ improvement Windows

Comments

@kylemd
Copy link

kylemd commented Nov 7, 2022

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
@kylemd kylemd added the bug Something isn't working label Nov 7, 2022
@kylemd kylemd changed the title Dexcalibur won't run on successful install Instructions to run on Windows incorrect Nov 7, 2022
@FrenchYeti FrenchYeti added improvement Windows FAQ Issue to move into future FAQ and removed bug Something isn't working labels Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Issue to move into future FAQ improvement Windows
Projects
None yet
Development

No branches or pull requests

2 participants