Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to run Rammmerhead on Linux #69

Open
Lavadude82 opened this issue May 17, 2023 · 0 comments
Open

Trying to run Rammmerhead on Linux #69

Lavadude82 opened this issue May 17, 2023 · 0 comments

Comments

@Lavadude82
Copy link

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 [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.

[email protected] preinstall
npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions

up to date, audited 215 packages in 1s

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.

[email protected] 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)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant