Error in npm run create-generate-storyboard-job

Total noob in server adminstration here. I’m trying to get my peertube instance to generate storyboards for my old videos. Saw on a blog post that I need to run:

npm run create-generate-storyboard-job

but unfortunately couldn’t find any info on where this should be run from or what user it should be run as.

Thankfully someone on Matrix advised me to run it in var/www/peertube and as the peertube user, which I did:

su peertube
cd /var/www/peertube
npm run create-generate-storyboard-job

For me this produces the error:

Could not read package.json: Error: ENOENT: no such file or directory, open '/var/www/peertube/package.json

Where am I going wrong?


Please follow the documentation: CLI tools guide | PeerTube documentation

Of course. My bad. Thank you!

Maybe a link can be added to the [blog post] too because from reading it it definitely looked like it was a one-line command.

1 Like