Skip to content

Smartthings CLI "TAR header missing" error #4

@Annastasya77

Description

@Annastasya77

With Smartthings IDE deprecated and Smartthings CLI the replacement being the only current plugin install option, Smartthings CLI requires a "TAR Header" in the plugin code to install it. (No "RAW" option in CLI) When Attempting to install the plugins it errors as Follows:

"Installing plugin https://github.com//aderusha/SmartThings/blob/master/Send-Events-to-EventGhost.groovy... failed
Error: yarn add https://github.com//aderusha/SmartThings/blob/master/Send-Events-to-EventGhost.groovy
--non-interactive --mutex=file:C:\Users\Annas\AppData\Local@smartthings\cli\yarn.lock
--preferred-cache-folder=C:\Users\Annas\AppData\Local@smartthings\cli\yarn --check-files --verbose exited with
code 1"

"Error: https://github.com//aderusha/SmartThings/blob/master/Send-Events-to-EventGhost.groovy: Extracting tar content of undefined failed, the file appears to be corrupt: "Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?"
at MessageError.ExtendableBuiltin (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:721:66)
at new MessageError (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:750:123)
at Extract. (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:63856:14)
at Extract.emit (node:events:549:35)
at Extract.onheader (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:150896:12)
at module.exports.Extract._write (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:151020:8)
at doWrite (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:73908:64)
at writeOrBuffer (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:73897:5)
at module.exports.Writable.write (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:73814:11)
at Duplexify.ondata (C:\snapshot\smartthings-cli\node_modules\yarn\lib\cli.js:72854:20)
error https://github.com//aderusha/SmartThings/blob/master/Send-Events-to-EventGhost.groovy: Extracting tar content of undefined failed, the file appears to be corrupt: "Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions