ArnoldSmith86 / virtualtabletop

a virtual surface in the browser on which you can play board, dice and card games
https://virtualtabletop.io
GNU General Public License v3.0
165 stars 29 forks source link

Codespace compability #2268

Closed RaphaelAlvez closed 1 week ago

RaphaelAlvez commented 4 weeks ago

I'm trying to lunch a sever in codespace so I can test some stuff. here is some stuf I got

@RaphaelAlvez ➜ /workspaces/virtualtabletop (main) $ npm install

up to date, audited 841 packages in 2s

65 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (1 moderate, 7 high)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
@RaphaelAlvez ➜ /workspaces/virtualtabletop (main) $ npm audit
# npm audit report

braces  <3.0.3
Severity: high
Uncontrolled resource consumption in braces - https://github.com/advisories/GHSA-grv7-fg5c-xmjg
fix available via `npm audit fix`
node_modules/braces

html-minifier  *
Severity: high
kangax html-minifier REDoS vulnerability - https://github.com/advisories/GHSA-pfq8-rq6v-vf5m
No fix available
node_modules/html-minifier
  @node-minify/html-minifier  *
  Depends on vulnerable versions of html-minifier
  node_modules/@node-minify/html-minifier

ip  *
Severity: high
ip SSRF improper categorization in isPublic - https://github.com/advisories/GHSA-2p57-rm9w-gvfp
fix available via `npm audit fix`
node_modules/ip
  endpoint-utils  >=1.0.1
  Depends on vulnerable versions of ip
  node_modules/endpoint-utils
    testcafe  0.0.22-alpha - 3.6.1
    Depends on vulnerable versions of endpoint-utils
    node_modules/testcafe

micromatch  <4.0.8
Severity: moderate
Regular Expression Denial of Service (ReDoS) in micromatch - https://github.com/advisories/GHSA-952p-6rrq-rcjv
fix available via `npm audit fix`
node_modules/micromatch

ws  7.0.0 - 7.5.9 || 8.0.0 - 8.17.0
Severity: high
ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q
ws affected by a DoS when handling a request with many HTTP headers - https://github.com/advisories/GHSA-3h5v-q93c-6h6q
fix available via `npm audit fix`
node_modules/chrome-remote-interface/node_modules/ws
node_modules/testcafe-hammerhead/node_modules/ws
node_modules/ws

8 vulnerabilities (1 moderate, 7 high)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.
@RaphaelAlvez ➜ /workspaces/virtualtabletop (main) $ npm run debug

> virtualtabletop@0.5.0 debug
> nodemon -e js,mjs,css,html,json --ignore save/ --ignore coverage/ --ignore tests/ --inspect server.mjs

[nodemon] 3.1.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,css,html,json
[nodemon] starting `node --inspect server.mjs`
Debugger listening on ws://127.0.0.1:9229/c183c1ea-114d-4583-9c7e-8638289f2743
For help, see: https://nodejs.org/en/docs/inspector
(node:27536) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
2024-08-27T13:54:22.090Z Listening on 8272

this is what I get if I open the server in a browser image

It worked when I get the url of the resulting server and put it in the config.json file

image

ArnoldSmith86 commented 1 week ago

I would say this was solved by #2290.