TerbiumOS / webOS

TerbiumOS web is a web os packed with features, with new updates every so often
Apache License 2.0
132 stars 696 forks source link

npm start doesnt works #30

Closed matti377 closed 8 months ago

matti377 commented 1 year ago

Deployed in on ubuntu server, everything worked up until npm start. I get this error: $npm start

uv-app@1.0.0 start node index.js

/home/vpsadmin/webOS/node_modules/@tomphttp/bare-server-node/dist/BareServer.js:50 init.logErrors ??= false; ^

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/vpsadmin/webOS/node_modules/@tomphttp/bare-server-node/dist/createServer.js:5:41) at Module._compile (internal/modules/cjs/loader.js:999:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

Xtendera commented 1 year ago

What node version are you on?

Notplayingallday383 commented 8 months ago

Did you run npm install?