Fixing extract problem after download
For some reason tar
extraction failed. See below and educate me if possible. For the time being i am switching to zip
archive.
> setup-youtubeuploader@19.6.0 install /home/wolfram/Documents/setup-youtubeuploader
> node install
setup: Downloading https://github.com/golangf/youtubeuploader/releases/download/19.6/youtubeuploader_linux_amd64.gz
[====================] 100% 0.0s
(node:6824) UnhandledPromiseRejectionWarning: Error: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?
at Object.exports.decode (/home/wolfram/Documents/setup-youtubeuploader/node_modules/tar-stream/headers.js:267:43)
at Extract.onheader (/home/wolfram/Documents/setup-youtubeuploader/node_modules/tar-stream/extract.js:124:39)
at Extract._write (/home/wolfram/Documents/setup-youtubeuploader/node_modules/tar-stream/extract.js:250:8)
at doWrite (/home/wolfram/Documents/setup-youtubeuploader/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/home/wolfram/Documents/setup-youtubeuploader/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Extract.Writable.write (/home/wolfram/Documents/setup-youtubeuploader/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Gunzip.ondata (_stream_readable.js:713:22)
at Gunzip.emit (events.js:314:20)
at addChunk (_stream_readable.js:303:12)
at readableAddChunk (_stream_readable.js:279:9)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:6824) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6824) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
audited 114 packages in 28.778s
found 0 vulnerabilities