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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 16 (0 / 16) |
Uptime: | 91:46:49 |
Calls: | 500,956 |
Calls today: | 5 |
Files: | 109,377 |
D/L today: |
1,364 files (254M bytes) |
Messages: | 304,707 |
Posted today: | 1 |