Git Product home page Git Product logo

Comments (6)

zerodahero avatar zerodahero commented on July 17, 2024 1

Hi! Can you provide a bit more info?

Is that error directly from Composer, or when you try and do something in your app?
What version of PHP are you running?
What version of Laravel/Lumen are you pulling this into?
Can you post the full stack trace that's dumped out from that?

The error is related to the the config being missing. You'll need to publish the config (see the readme).

There might be an issue here if it's composer throwing this--but otherwise it looks like just the config file is missing.

from laravel-workflow.

zerodahero avatar zerodahero commented on July 17, 2024 1

Ah, ok, that makes more sense. I think this came up in the original repo way back before I forked this. The consensus there was that it wasn't worth fixing since it's not a "standard" feature of Laravel that causes that issue (the register() isn't typically run on the post-install hook).

The solution is to add a default blank config to the package service provider. While that fixes the problem you had, it's a bit weird from this package's perspective since it would allow for the possibility that this be installed/loaded but do "nothing." I'll see what I can do about a non-fatal error (or at least a better message), but from a typical package layout, I lean toward calling a missing config here "exceptional behavior".

from laravel-workflow.

zerodahero avatar zerodahero commented on July 17, 2024 1

I went ahead and threw a default on there for now (I'll circle back around to adding a better message in the future), and will likely be pushing that as v3.3.0 with some other changes.

from laravel-workflow.

MathiasWeisheit avatar MathiasWeisheit commented on July 17, 2024

hi , i use the laravel ide-helper
and the command php artisan ide-helper:generate generates this problem.
See line 66 in composer.jjson
composer.json.txt

from laravel-workflow.

MathiasWeisheit avatar MathiasWeisheit commented on July 17, 2024

i removed ide-helper form composer.json post-update
installed your package
published config
added ide-helper to composer.json
now it works
but can you fix the problem, too ?

from laravel-workflow.

MathiasWeisheit avatar MathiasWeisheit commented on July 17, 2024

If you want, you can close this issue.

from laravel-workflow.

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.