-
Notifications
You must be signed in to change notification settings - Fork 269
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
[FEATURE] Using npm start #662
Comments
I removed all references to nodemon: 0ffd702 I'm not an npm expert, but I'm not positive that adding pm2-runtime to Does npm start circumvent this somehow by including commands from node_modules? |
I tried locally it work fine,
The caveat is, when run the binaries directly need to use
But it just preferences, as i prefer reduce usage of root installation much as possible. |
Is your feature request related to a problem? Please describe.
By default the youtubedl-m use PM2 runtime, that need installed manually
npm install -g pm2
that need use root permission. By usingnpm start
in package.json. We can include pm2 in backend dependencies and set npm start topm2-runtime --raw pm2.config.js
then dropping the need install pm2-runtime with root permission.Looking from
YoutubeDL-Material/backend/package.json
Line 8 in 6fa4296
nodemon
andspoiler: i tried and it not working
.Describe the solution you'd like
npm start
topm2-runtime --raw pm2.config.js
Additional context
Using
npm start
will likely easier reproducible runtime, as user doesn't need to manually install pm2.#657
The text was updated successfully, but these errors were encountered: