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

Starting crash #1

Open
kotleni opened this issue May 24, 2024 · 3 comments
Open

Starting crash #1

kotleni opened this issue May 24, 2024 · 3 comments

Comments

@kotleni
Copy link

kotleni commented May 24, 2024


> [email protected] serve
> node index.js

/root/SteamPlaytimeBooster/src/clientController.js:39
    #login()
          ^

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.<anonymous> (/root/SteamPlaytimeBooster/index.js:2:16)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)```
@faceslog
Copy link
Owner

Hello what is your node js version ? node -v

This seems to be due to the use of a private class method, indicated by the # symbol before the method name, which is a feature of modern js (ES2022). This feature might not be supported in your current Node.js version.

@kotleni
Copy link
Author

kotleni commented May 24, 2024

Hello what is your node js version ? node -v

This seems to be due to the use of a private class method, indicated by the # symbol before the method name, which is a feature of modern js (ES2022). This feature might not be supported in your current Node.js version.

It's v12.22.9

@faceslog
Copy link
Owner

Hello what is your node js version ? node -v

This seems to be due to the use of a private class method, indicated by the # symbol before the method name, which is a feature of modern js (ES2022). This feature might not be supported in your current Node.js version.

It's v12.22.9

As stated in the READ ME you need a newer version of nodejs. At least NodeJS LTS (16+)

Regards

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

2 participants