You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tar (child): Cannot connect to C: resolve failed
tar: Child returned status 128
tar: Error is not recoverable: exiting now
Package created at [C:\xampp71\htdocs\themetest\storage\themes/dream.theme.tar.gz]
The reason is that tar interprets colons (:) in file names as meaning it is a file on another machine. You can disable this behavior by using the flag --force-local https://stackoverflow.com/a/37996249
system("cd {$this->tempPath} && tar -cvzf $packageFileName .");
I added --force-local parameter to tar command to solve the issue
system("cd {$this->tempPath} && tar --force-local -cvzf $packageFileName .");
but I don't know which one is good: adding --force-local or stripping colon from $packageFileName. I guess nobody uses another machine to create package right? So stripping seems like a good idea.
The text was updated successfully, but these errors were encountered:
laravel-theme/src/Commands/createPackage.php
Line 49 in 73a87cc
I added --force-local parameter to tar command to solve the issue
but I don't know which one is good: adding --force-local or stripping colon from $packageFileName. I guess nobody uses another machine to create package right? So stripping seems like a good idea.
The text was updated successfully, but these errors were encountered: