#430·slackin

SyntaxError in Slackin on CentOS Stream: Unexpected Reserved Word During Execution

Author: Shr3yashCreated Sep 2, 2024Updated Sep 2, 2024

I've installed npm and Slackin on a fresh CentOS Stream system without any other Node packages, but I'm encountering a consistent error when trying to run Slackin:

/usr/lib/node_modules/slackin/node_modules/args/dist/index.js:39 class Args { ^^^^^ SyntaxError: Unexpected reserved word at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/usr/lib/node_modules/slackin/bin/slackin:4:12) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)

I'm unsure if I'm missing additional modules required to get this working or if the issue is related to Apache already running on the server. I tried running npm install -g node.js and npm install babel, but the problem persists. Any advice would be appreciated.