I recently threw away my Windows License to my Microsoft and decided, Linux is better for server side. I installed Debian with KDE, and installed Node, VS-Code, and Firefox, but it doesn't work. I get this error when trying to run it on default and configured settings using "npm install && npm run build && node src/server.js", "npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
18 packages are looking for funding
run npm fund for details
3 high severity vulnerabilities
To address all issues, run:
npm audit fix
Run npm audit for details
added 213 packages, and audited 215 packages in 25s
18 packages are looking for funding
run npm fund for details
^[[B
3 high severity vulnerabilities
To address all issues, run:
npm audit fix
Run npm audit for details.
rammerhead@1.2.62 build
node src/build.js
About to throw: Unexpected token '.'
/home/iduarte/Documents/userCode/Rammerhead Client/rammerhead/src/util/addUrlShuffling.js:69
disableShuffling = pattern.urlAttr?.toLowerCase() === 'action';
^
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/iduarte/Documents/userCode/Rammerhead Client/rammerhead/src/classes/RammerheadProxy.js:19:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
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/iduarte/Documents/userCode/Rammerhead Client/rammerhead/src/server/index.js:8:25)
at Module._compile (internal/modules/cjs/loader.js:999:30)"
I recently threw away my Windows License to my Microsoft and decided, Linux is better for server side. I installed Debian with KDE, and installed Node, VS-Code, and Firefox, but it doesn't work. I get this error when trying to run it on default and configured settings using "npm install && npm run build && node src/server.js", "npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
up to date, audited 215 packages in 1s
18 packages are looking for funding run
npm fund
for details3 high severity vulnerabilities
To address all issues, run: npm audit fix
Run
npm audit
for details added 213 packages, and audited 215 packages in 25s18 packages are looking for funding run
npm fund
for details ^[[B 3 high severity vulnerabilitiesTo address all issues, run: npm audit fix
Run
npm audit
for details.About to throw: Unexpected token '.' /home/iduarte/Documents/userCode/Rammerhead Client/rammerhead/src/util/addUrlShuffling.js:69 disableShuffling = pattern.urlAttr?.toLowerCase() === 'action'; ^
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/iduarte/Documents/userCode/Rammerhead Client/rammerhead/src/classes/RammerheadProxy.js:19:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
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/iduarte/Documents/userCode/Rammerhead Client/rammerhead/src/server/index.js:8:25)
at Module._compile (internal/modules/cjs/loader.js:999:30)"