Skip to content

RuntimeException php artisan VueTranslation:generate --watch=1 #1

@umairali

Description

@umairali

I updated the laravel project and run the below command after that i am receiving below error.

Command
php artisan VueTranslation:generate --watch=1

Error

 RuntimeException

  Cannot read the file "/home/test/public_html/resources/lang": permission denied (The web server user cannot read files, chmod needed)

  at vendor/elementaryframework/fire-fs/src/FireFS/FireFS.php:413
    409|         $msg = "Cannot {$action} the file \"{$path}\": permission denied";
    410|         if (!$this->isRemote($path)) {
    411|             $msg .= " (The web server user cannot {$action} files, chmod needed)";
    412|         }
  > 413|         return new \RuntimeException($msg);
    414|     }
    415|
    416|     /**
    417|      * Write in the file

      +21 vendor frames
  22  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

   Whoops\Exception\ErrorException

  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory))

  at Unknown:0
    1|

      +1 vendor frames
  2   [internal]:0
      Whoops\Run::handleShutdown()

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