1
php bin/console assets:install --symlink
コマンドを実行しても何も起こりません。 明確にする:folder /bundle
が作成されていますが空です。冗長でSymfony 3 - Asset:install - 許可エラー
、私はこれを取得:
Trying to install assets as absolute symbolic links.
13:54:13 DEBUG [php] Warning: unlink(web/bundles/main): No such file or directory
[
"exception" => Symfony\Component\Debug\Exception\SilencedErrorContext {
+count: 1,
-severity: E_WARNING,
trace: {
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:178: {
: },
: } elseif ([email protected]($file) && file_exists($file)) {,
: $error = error_get_last();
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand.php:133: {
: try {,
: $this->filesystem->remove($targetDir);,
:
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:264: {
: } else {,
: $statusCode = $this->execute($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:887: {
: if ($event->commandShouldRun()) {,
: $exitCode = $command->run($input, $output);,
: } else {
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:223: {
: $this->runningCommand = $command;,
: $exitCode = $this->doRunCommand($command, $input, $output);,
: $this->runningCommand = null;
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:81: {
: ,
: return parent::doRun($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:130: {
: $e = null;,
: $exitCode = $this->doRun($input, $output);,
: } catch (\Exception $x) {
},
***\Symfony\bin\console:28: {
: $application = new Application($kernel);,
: $application->run($input);,
:
}
}
}
]
[]
13:54:13 DEBUG [php] Warning: unlink(web/bundles/coresphereconsole): No such file or directory
[
"exception" => Symfony\Component\Debug\Exception\SilencedErrorContext {
+count: 1,
-severity: E_WARNING,
trace: {
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:178: {
: },
: } elseif ([email protected]($file) && file_exists($file)) {,
: $error = error_get_last();
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand.php:133: {
: try {,
: $this->filesystem->remove($targetDir);,
:
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:264: {
: } else {,
: $statusCode = $this->execute($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:887: {
: if ($event->commandShouldRun()) {,
: $exitCode = $command->run($input, $output);,
: } else {
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:223: {
: $this->runningCommand = $command;,
: $exitCode = $this->doRunCommand($command, $input, $output);,
: $this->runningCommand = null;
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:81: {
: ,
: return parent::doRun($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:130: {
: $e = null;,
: $exitCode = $this->doRun($input, $output);,
: } catch (\Exception $x) {
},
***\Symfony\bin\console:28: {
: $application = new Application($kernel);,
: $application->run($input);,
:
}
}
}
]
[]
13:54:13 DEBUG [php] Warning: unlink(web/bundles\coresphereconsole): Permission denied
[
"exception" => Symfony\Component\Debug\Exception\SilencedErrorContext {
+count: 1,
-severity: E_WARNING,
trace: {
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:167: {
: // See https://bugs.php.net/52176,
: if ([email protected](unlink($file) || '\\' !== DIRECTORY_SEPARATOR || rmdir($file)) && file_exists($file)) {,
: $error = error_get_last();
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand.php:161: {
: if (!in_array($dir, $validAssetDirs)) {,
: $this->filesystem->remove($dir);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:264: {
: } else {,
: $statusCode = $this->execute($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:887: {
: if ($event->commandShouldRun()) {,
: $exitCode = $command->run($input, $output);,
: } else {
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:223: {
: $this->runningCommand = $command;,
: $exitCode = $this->doRunCommand($command, $input, $output);,
: $this->runningCommand = null;
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:81: {
: ,
: return parent::doRun($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:130: {
: $e = null;,
: $exitCode = $this->doRun($input, $output);,
: } catch (\Exception $x) {
},
***\Symfony\bin\console:28: {
: $application = new Application($kernel);,
: $application->run($input);,
:
}
}
}
]
[]
13:54:13 DEBUG [php] Warning: unlink(web/bundles\main): Permission denied
[
"exception" => Symfony\Component\Debug\Exception\SilencedErrorContext {
+count: 1,
-severity: E_WARNING,
trace: {
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:167: {
: // See https://bugs.php.net/52176,
: if ([email protected](unlink($file) || '\\' !== DIRECTORY_SEPARATOR || rmdir($file)) && file_exists($file)) {,
: $error = error_get_last();
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand.php:161: {
: if (!in_array($dir, $validAssetDirs)) {,
: $this->filesystem->remove($dir);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:264: {
: } else {,
: $statusCode = $this->execute($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:887: {
: if ($event->commandShouldRun()) {,
: $exitCode = $command->run($input, $output);,
: } else {
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:223: {
: $this->runningCommand = $command;,
: $exitCode = $this->doRunCommand($command, $input, $output);,
: $this->runningCommand = null;
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:81: {
: ,
: return parent::doRun($input, $output);,
: }
},
***\Symfony\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:130: {
: $e = null;,
: $exitCode = $this->doRun($input, $output);,
: } catch (\Exception $x) {
},
***\Symfony\bin\console:28: {
: $application = new Application($kernel);,
: $application->run($input);,
:
}
}
}
]
[]
---- ---------------------------------- ------------------
Bundle Method/Error
---- ---------------------------------- ------------------
OK MainBundle absolute symlink
-> web/bundles/main
OK CoreSphereConsoleBundle absolute symlink
-> web/bundles/coresphereconsole
---- ---------------------------------- ------------------
[OK] All assets were successfully installed.
私はキャッシュを掃除し、管理者としてコンソールを開始しました... それは本当に奇妙です。
私は窓を使用しています。
私はそれが3.3.3
に3.3.2
からのsymfonyを更新しtwig/extensions
がインストールされているので、php composer.phar update
を行うことは何かを壊したと思います。
それは、その前に働いていた...助けを
感謝を!
あなたは作曲の更新を行う場合には、それはそれはsymfonyのバージョンを変更することを通常よ... symfonyの3.3.3に関連する問題にしているようだ... –
はいそれは私のための問題ではない、問題は、このアップデート以来、私は私の資産をインストールすることはできません... それが関連しているかどうか、私は知っているすべてを与えるかわからない:) –