Comments (14)
for now for versions 7 & 8 the symfony update can be skipped by adding into composer.json
"conflict": {
"symfony/console": "5.4.35"
}
For version 8 set the version specifically
"nwidart/laravel-modules": "8.3"
from laravel-modules.
this stems from an internal change in symfony/symfony#53516 will get the branches updated, looking at v7+
from laravel-modules.
I've released 2 new versions please update:
V7 use https://github.com/nWidart/laravel-modules/releases/tag/7.4.0
v8 use https://github.com/nWidart/laravel-modules/releases/tag/8.6.0
from laravel-modules.
okay, I'll need to figure out how to do a release for 2 versions back. Every time I've tried to do a release manually its included the recent changes.
I was hoping Symfony was going to do an immediate release but looks like that's not going to happen for a few weeks.
from laravel-modules.
i am also getting the same issue.
i am using I'm using "nwidart/laravel-modules": "8.2"
from laravel-modules.
I am also getting same issue
from laravel-modules.
Same error in v8.3.0 with laravel 8 and php 8.1
if v8.4.0, i got error:
from laravel-modules.
Same error for me all of a sudden in laravel 7.2
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
An option shortcut cannot be empty.
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
from laravel-modules.
waiting on symfony/symfony#53711 this should resolve the issue.
from laravel-modules.
@dcblogdev Symfony PR is merged now however release will happen in upcoming days as 5.4.35. Ref : symfony/symfony#53711 (comment)
Meanwhile can we make release of last pr #1730 ?
Thanks
from laravel-modules.
@jayminsilicon do you know how to issue a release for versions 7 & 8, I haven't as yet ever had to do a release for past versions.
from laravel-modules.
@dcblogdev is there any permanent solution for this.
I tried your above solution but it will not be help after deleting vendor file and composer.lock.
so is there permanent solution for this.
from laravel-modules.
I have tried a solution.
- Create a customTestMakeCommand and extend the TestMakeCommand.
- Override the getOptions function
<?php
namespace App\Console\Commands;
use Nwidart\Modules\Commands\TestMakeCommand as OriginalTestMakeCommand;
use Symfony\Component\Console\Input\InputOption;
class CustomTestMakeCommand extends OriginalTestMakeCommand
{
protected function getOptions()
{
return [
['feature', null, InputOption::VALUE_NONE, 'Create a feature test.'],
];
}
}
- Bind it in AppServiceProvider
$this->app->bind(TestMakeCommand::class, CustomTestMakeCommand::class);
It worked locally for me. Now getting an issue on my deployment side. If that is fixed then it could be a temporary solution.
from laravel-modules.
I am also getting same issue
@php artisan package:discover --ansi
An option shortcut cannot be empty.
from laravel-modules.
Related Issues (20)
- Extract CSS out when getting assets from Modules HOT 1
- Add Livewire commands to modules HOT 1
- [Docs] Broken link to explanation article HOT 2
- TailwindCSS not working in Modules HOT 2
- Modules not loading on hosting service HOT 4
- Can we duplicate a new module? HOT 3
- How to handle node_modules hell if dependencies are common? HOT 3
- Laravel/Modules 11 release HOT 1
- module:migrate command returns 'The "--path" option does not exist.' error HOT 15
- Class "Modules\Posts\App\Providers\PostsServiceProvider" not found HOT 1
- actions/checkout version HOT 1
- Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 HOT 10
- Interface "Illuminate\Contracts\Console\PromptsForMissingInput" not found HOT 15
- Failed to load module script for static assets such as images HOT 2
- We have the new structure folder in same version 10 ? HOT 3
- Composer template not updated after App and Database folder capitalisation change HOT 2
- Error reading module statuses or module configurations HOT 4
- How to create middleware alias in my module? HOT 1
- migrate first module only HOT 5
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-modules.