aleksilassila / reiverr

Reiverr is a clean combined interface for Jellyfin, TMDB, Radarr and Sonarr, as well as a replacement to Overseerr
GNU Affero General Public License v3.0
1.45k stars 44 forks source link

Error: Cannot find module when trying to start the app #155

Open acneupane opened 3 months ago

acneupane commented 3 months ago

Getting this error after trying to start the app with "node backend/dist/src/main" on v1.11.

C:\Users\Hoss\reiverr>node backend/dist/src/main node:internal/modules/cjs/loader:1148 throw err; ^

Error: Cannot find module 'C:\Users\Hoss\reiverr\backend\dist\src\main' at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v20.14.0

aleksilassila commented 3 months ago

Did you run the required commands defined in https://github.com/aleksilassila/reiverr?tab=readme-ov-file#building-from-source before running that command?

blw9u2012 commented 2 months ago

@acneupane I ran into this as well, but this was because I ran: node backend/dist/src/main. From the backend/ directory I ran, node dist/src/main and everything started just fine.