UnicornTranscoder / UnicornFFMPEG

Fake Plex Transcoder to get the arguments for FFMPEG
MIT License
97 stars 14 forks source link

Errors on the RPI4 #7

Open rathel opened 4 years ago

rathel commented 4 years ago

npm start

unicorn-ffmpeg@2.2.1 start /home/pi/git/UnicornFFMPEG pkg . -o "bin/Plex Transcoder"

pkg@4.4.0 Fetching base Node.js binaries to PKG_CACHE_PATH fetched-v10.15.3-macos-armv7 [ ] 0% Error! 404 Not Found https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v10.15.3-macos-armv7 Asset not found by direct link: {"tag":"v2.6","name":"uploaded-v2.6-node-v10.15.3-macos-armv7"} Not found in GitHub releases: {"tag":"v2.6","name":"uploaded-v2.6-node-v10.15.3-macos-armv7"} Building base binary from source: built-v10.15.3-macos-armv7 Error! Not able to build for 'macos' here, only for 'linux' npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! unicorn-ffmpeg@2.2.1 start: pkg . -o "bin/Plex Transcoder" npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the unicorn-ffmpeg@2.2.1 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

It seems like I would only need to replace macos with linux anyway to do that?

Maxou44 commented 4 years ago

It's a pkg issue, try to remove "macos-node10" and "win-node10" in the package.json file