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

Missing minimum node version from README #37

Open
JankaGramofonomanka opened this issue Nov 10, 2021 · 4 comments
Open

Missing minimum node version from README #37

JankaGramofonomanka opened this issue Nov 10, 2021 · 4 comments

Comments

@JankaGramofonomanka
Copy link

I can't run the inigo executable, I get this error:

/usr/local/bin/inigo:63
  } catch (e) { return 0n }
                       ^

SyntaxError: Invalid or unexpected token
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

my version of nodejs is 8.10.0.

By the way, it would be nice if it was stated in the README that you need nodejs to run inigo.

@alexhumphreys
Copy link

Hmm my node is v16.5.0 and it's working ok, so you may need to try with a newer version.

And good call on the README! Want to open a PR for that change? Otherwise I'll probably get to it at some point.

@Z-snails
Copy link

Yep, you need node 10.4.0 for BigInt support (it would be good to mention that in the readme too).

@JankaGramofonomanka
Copy link
Author

I updated to node v16.13.0 and it now runs but still doesn't work.
It prints the usage info, instead of initializing the project, which I described in issue #39.

@Z-snails
Copy link

Lets leave this open until someone fixes the README.

@Z-snails Z-snails reopened this Nov 30, 2021
@Z-snails Z-snails changed the title Syntax error in the executable Missing minimum node version from README Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants