Comments (4)
Update on this the module does not work with Laravel 7
`D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd>php artisan module:make-model mobile
Error
Class 'Modules\Mobile\Providers\MobileServiceProvider' not found
at D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:208
204| * @return \Illuminate\Support\ServiceProvider
205| */
206| public function createProvider($provider)
207| {
> 208| return new $provider($this->app);
209| }
210| }
211|
1 D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:144
Illuminate\Foundation\ProviderRepository::createProvider("Modules\Mobile\Providers\MobileServiceProvider")
2 D:\laravel\istyle\Sync\istyle\Server\www\FrontEnd\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php:61
Illuminate\Foundation\ProviderRepository::compileManifest()`
from nwidart-docs.
Hello,
Blade components are not linked to this package, you can just use them as referenced by the docs.
The error you have seems to be with how you autoloaded the modules. Make sure you did so.
I'm running the package in laravel 7 and it works fine.
from nwidart-docs.
Hello,
Blade components are not linked to this package, you can just use them as referenced by the docs.
The error you have seems to be with how you autoloaded the modules. Make sure you did so.I'm running the package in laravel 7 and it works fine.
Thank you for the super quick reply, I will do a clean setup again, this was a clean L7 setup with just the modules. I can create modules, but I can not add models.
from nwidart-docs.
Odd.... found the problem for some reason it did not add "Modules\": "Modules/" in the psr-4 usually it always did that automatically.
from nwidart-docs.
Related Issues (15)
- How to get current module name. HOT 1
- Class 'Modules\ModuleName\Providers\RouteServiceProvider' not found HOT 1
- Unable to create nested modules HOT 1
- Laravel 6 HOT 1
- i try make seeder, but not working, when i run seeder
- Multiple Creation of Model Issue in laravel 8 HOT 1
- Enable or disable module HOT 2
- problem with publishing automatically module in Modules/ folder HOT 1
- EventServiceProvider HOT 1
- Proposed Version Functionality and Simplified Module Installation HOT 1
- no support for tinker to use the modules factory
- The website still showing v6 as latest HOT 1
- Events / Listeners HOT 2
- Code block CSS in Safari
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 nwidart-docs.