Tzahi12345 / YoutubeDL-Material

Self-hosted YouTube downloader built on Material Design
MIT License
2.66k stars 275 forks source link

[BUG] pm2 not declared as dependency #1112

Open Neurofibromin opened 7 months ago

Neurofibromin commented 7 months ago

Describe the bug Regular (not docker) install, during installation when I run npm start the following happens:

backend@1.0.0 start pm2-runtime --raw pm2.config.js sh: 1: pm2-runtime: not found

To Reproduce

  1. get 4.3.2 release
  2. install node from nodejs: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash nvm install 20
  3. npm build (no changes to default.json)
  4. npm start

Expected behavior application starts serving on the default port

Environment

Additional context when I installed pm2 and restarted with npm it worked fine: (https://stackoverflow.com/questions/50002748/pm2-runtime-executable-file-not-found-in-path) npm install pm2 -g npm start // now it works