Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] pm2 not declared as dependency #1112

Open
Neurofibromin opened this issue Apr 21, 2024 · 0 comments
Open

[BUG] pm2 not declared as dependency #1112

Neurofibromin opened this issue Apr 21, 2024 · 0 comments

Comments

@Neurofibromin
Copy link

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

  • YoutubeDL-Material version 4.3.2
  • ubuntu 20.04, in a linux container

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

@Neurofibromin Neurofibromin changed the title [BUG] pm2 not declared as dependeny [BUG] pm2 not declared as dependency Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant