Comments (6)
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.
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.
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.
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.
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.
If you want, you can close this issue.
from laravel-workflow.
Related Issues (20)
- Wrong argument type when calling GuardEvent HOT 17
- Event issuance triples HOT 3
- Marking_store configuration option should be removed HOT 2
- Wrong events fired when using transition from two places to one HOT 7
- workflow_apply second parameter HOT 2
- Dependency injection in listeners HOT 2
- $event->stopPropagation(); does not work HOT 5
- workflow:dump error if --path is not provided HOT 3
- [feature request] Trait method for saving current state Marking HOT 3
- Queued listeners fail HOT 4
- Event blocking in Guards stopped working HOT 9
- Wrong announce events HOT 10
- Install on L9 HOT 4
- Wrong announce events HOT 5
- Transition - From places definition HOT 16
- Upgrade to Laravel 10: got error getSubject() HOT 1
- Since symfony/workflow 6.4: The Symfony\Component\Workflow\Event\GuardEvent::getContext() method is deprecated and will be removed in 7.0 HOT 2
- Support for Laravel 11? HOT 5
- Events not working for me HOT 3
- Help to maintain this package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-workflow.