if(_.isNumber(options?.position?.row)) {
^
SyntaxError: Unexpected token '.'
Anyone know how to fix this?? Also if not easily fixed, is it possible to
My guess is you're trying to run it with an older version of node.js that doesn't support optional chaining (that ? operator). Upgrading node to version 14 or above may resolve this, but Enigma will probably require additional steps after that (eg. npm install).
(That's my take as an outsider anyway; I've never installed/used Enigma, though I keep meaning to try it.)
if(_.isNumber(options?.position?.row)) {
On Sunday, April 24th Bucko was heard saying...
if(_.isNumber(options?.position?.row)) {
echicken is correct, you need to update Node. See the UPGRADE.md
whenever you update (it's documented therein)
Update node, then `npm install` to update modules and should be good to go.
Sysop: | Gary Ailes |
---|---|
Location: | Pittsburgh, PA |
Users: | 132 |
Nodes: | 5 (0 / 5) |
Uptime: | 109:05:34 |
Calls: | 733 |
Files: | 2,171 |
Messages: | 81,483 |