Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hello! Thanks for working on a hjason based BBS engine! I installed it (Ubuntu 22.04) using the installer script, but once trying to start it, I get the following syntax error.

/home/enigma/enigma-bbs/core/ansi_escape_parser.js:48
this.row = Math.min(options?.startRow ?? 1, this.termHeight);
^

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 Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/enigma/enigma-bbs/core/ansi_prep.js:5:26)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

Any idea of the cause? Post it here because it might be a versioning issue,

Cheers,

MR

You must be logged in to vote

Replies: 2 comments

Comment options

@marralser Looks like your Node version is not correct (ie: doesn't understand ?). Please check your node --version. The installer script will attempt to install the correct version under nvm, but depending on the setup, there may be a conflict. You'll need Node v14+.

You must be logged in to vote
0 replies
Comment options

Thankss for the quick reply - Node version was correct - but strangely enough it seemed to have been a permisison/acess issue; I started the process again with another user on the same system, and it it went through smoothly.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.