GithubHelp home page GithubHelp logo

Comments (5)

matchish avatar matchish commented on May 23, 2024 1

@vaishnavmhetre #30 (comment)_

from laravel-scout-elasticsearch.

dragonfire1119 avatar dragonfire1119 commented on May 23, 2024

Got it forgot you where moving to the developer registering the service provider.

from laravel-scout-elasticsearch.

vaishnavmhetre avatar vaishnavmhetre commented on May 23, 2024

I didn't understand the solution. @dragonfire1119 Please tell me. I'm facing the same issue.

from laravel-scout-elasticsearch.

vaishnavmhetre avatar vaishnavmhetre commented on May 23, 2024

@vaishnavmhetre #30 (comment)_

Got it. I did it in the first place but unfortunately, it didn't work. The vendor publish command wasn't picking up the service provider (and tag 'config' henceforth). Although I reinstalled, cleared cache (faced this issue many times before with other packages too). Imported all the Service Providers (Scout, as well as ElasticServiceProvider). Then that worked.

It doesn't seem like your package issue and more of the Laravel cache issue as I've faced this situation with other packages irrespective of the OS distribution (Linux, Windows, Mac) and hardware (tried HP, Lenovo, Acer [Laptops/Desktops]) but maybe you can dig if you wish too on this situation.

Previously, my routes files used to cache and never update after the change in web/api.php, unless I run cache:clear, and then cache:clear would spit out red errors of non-serializable routes (the routes with closure). So then I had to Comment those routes, then cache:clear, then the things worked fluently for your package (and others too).

from laravel-scout-elasticsearch.

matchish avatar matchish commented on May 23, 2024

@vaishnavmhetre Probably the issue related to bootstrap/cache/packages.php bootstrap/cache/services.php files

from laravel-scout-elasticsearch.

Related Issues (20)

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.