Closed mulpdev closed 5 months ago
There is a folder dist/ folder and associated files are not in the repo, nor created during build.
dist/
It is referenced in:
pw-back/bin/
pw-back/bin/startup.sh
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
fixed in b18d091, npm run build was actually missing from that script. oops 😅
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/
shell scriptspw-back/bin/startup.sh
(which results in below error)