titaniumnetwork-dev / Ultraviolet-App

Example application of Ultraviolet which can be deployed in production.
https://docs.titaniumnetwork.org/proxies/ultraviolet
MIT License
290 stars 4.46k forks source link

js error #8

Closed smikkelbakje closed 2 years ago

smikkelbakje commented 2 years ago

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our Discord server.

Expected Behavior

UV should start

Current Behavior

UV crashes

Possible Solution

Steps to Reproduce

  1. git clone
  2. npm install
  3. npm start

Context (Environment)

ubuntu npm 8.19.2

Detailed Description

when using npm start to start UV it doesnt start but spits out an error

npm start

> uv-app@1.0.0 start
> node src/index.js

file:///home/vps/Ultraviolet-Node/node_modules/@tomphttp/bare-server-node/dist/Server.js:33
        init.logErrors ??= false;
                        ^

SyntaxError: Unexpected token '?'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

Possible Implementation

smikkelbakje commented 2 years ago

forgot "npm install node"