Code Monkey home page Code Monkey logo

Comments (7)

mucenica-bogdan avatar mucenica-bogdan commented on August 11, 2024

+1

from laravel-langscanner.

druc avatar druc commented on August 11, 2024

Added lv9 support in 1.1.0

from laravel-langscanner.

zdarin avatar zdarin commented on August 11, 2024

Hi today installed your package 1.1v on laravel 9.7 not working need fix path ??


   Symfony\Component\Finder\Exception\DirectoryNotFoundException 

  The "User/Project/resources/lang" directory does not exist.

  at vendor/symfony/finder/Finder.php:590
    586▕             } elseif ($glob = glob($dir, (\defined('GLOB_BRACE') ? \GLOB_BRACE : 0) | \GLOB_ONLYDIR | \GLOB_NOSORT)) {
    587▕                 sort($glob);
    588▕                 $resolvedDirs[] = array_map([$this, 'normalizeDir'], $glob);
    589▕             } else {
  ➜ 590▕                 throw new DirectoryNotFoundException(sprintf('The "%s" directory does not exist.', $dir));
    591▕             }
    592▕         }
    593▕ 
    594▕         $this->dirs = array_merge($this->dirs, ...$resolvedDirs);
     +18 vendor frames 
  19  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

from laravel-langscanner.

mucenica-bogdan avatar mucenica-bogdan commented on August 11, 2024

The "User/Project/resources/lang" directory does not exist.

@zdarin - Looks like you are missing the lang folder inside of your resources folder. Just create an empty lang folder in resources.

from laravel-langscanner.

zdarin avatar zdarin commented on August 11, 2024

The "User/Project/resources/lang" directory does not exist.

@zdarin - Looks like you are missing the lang folder inside of your resources folder. Just create an empty lang folder in resources.

ok but Laravel 9 have lang folder in root of project or this path need to be created because do not mess with existed langs ??

from laravel-langscanner.

druc avatar druc commented on August 11, 2024

@zdarin I forgot the lang directory was moved to the root of the project starting with LV9. Pushed an update that should fix that.

composer require druc/laravel-scanner:^2.0

Thanks for reporting the issue! 👍

from laravel-langscanner.

zdarin avatar zdarin commented on August 11, 2024

@druc :) you are welcome

from laravel-langscanner.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.