Duplicate Build AddOn Bug

kick

Well-known member
Affected version
2.1.0 Beta 2
Written successfully.
Attempting to validate addon.json file...
JSON file validates successfully!

In File.php line 281:

[E_WARNING] mkdir(): Invalid argument


xf-addon:build-release [--skip-hashes] [--] <id>
 
Could you please run the command again but add --verbose on to the end of the command and paste the output?
 
@Chris D,
Code:
Written successfully.
Attempting to validate addon.json file...
JSON file validates successfully!

In File.php line 281:

  [ErrorException]
  [E_WARNING] mkdir(): Invalid argument


Exception trace:
 XF::handlePhpError() at n/a:n/a
 mkdir() at C:\domains\test2.ru\src\XF\Util\File.php:281
 XF\Util\File::createDirectory() at C:\domains\test2.ru\src\XF\Util\F
ile.php:324
 XF\Util\File::copyFile() at C:\test2.ru\src\XF\Service\AddOn
\ReleaseBuilder.php:191
 XF\Service\AddOn\ReleaseBuilder->prepareFilesToCopy() at C:\domains\
test2.ru\src\XF\Service\AddOn\ReleaseBuilder.php:47
 XF\Service\AddOn\ReleaseBuilder->__construct() at C:\domains\test2.r
u\src\XF\Container.php:274
 XF\Container->createObject() at C:\domains\test2.ru\src\XF\App.php:1
545
 XF\App->XF\{closure}() at C:\domains\test2.ru\src\XF\Container.php:2
28
 XF\Container->create() at C:\domains\test2.ru\src\XF\App.php:2747
 XF\App->service() at C:\domains\test2.ru\src\XF\Cli\Command\AddOn\Bu
ildRelease.php:74
 XF\Cli\Command\AddOn\BuildRelease->execute() at C:\domains\test2.ru\
src\vendor\symfony\console\Command\Command.php:255
 Symfony\Component\Console\Command\Command->run() at C:\domains\test2
.ru\src\vendor\symfony\console\Application.php:946
 Symfony\Component\Console\Application->doRunCommand() at C:\domains\
test2.ru\src\vendor\symfony\console\Application.php:248
 Symfony\Component\Console\Application->doRun() at C:\domains\test2.r
u\src\vendor\symfony\console\Application.php:148
 Symfony\Component\Console\Application->run() at C:\domains\test2.ru\
src\XF\Cli\Runner.php:63
 XF\Cli\Runner->run() at C:\domains\test2.ru\cmd.php:15

xf-addon:build-release [--skip-hashes] [--] <id>
 
Back
Top Bottom