rbarisic-lme / pal-dash

Palworld Server Dashboard compatible with docker-palworld-dedicated-server distribution
3 stars 1 forks source link

dist folder missing from pw-back/ #5

Closed mulpdev closed 5 months ago

mulpdev commented 5 months ago

There is a folder dist/ folder and associated files are not in the repo, nor created during build.

It is referenced in:

pw-back/bin/startup.sh 
node:internal/modules/cjs/loader:1137
  throw err;
  ^

Error: Cannot find module '/home/xiq/srv/pal-dashboard/pw-back/dist/index.cjs'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.19.0
rbarisic-lme commented 5 months ago

fixed in b18d091, npm run build was actually missing from that script. oops 😅