GithubHelp home page GithubHelp logo

Comments (16)

devansh-webkul avatar devansh-webkul commented on August 16, 2024 1

Right now there is no way. Unless and until you can create your own script. But I recommend you to wait for this. Because even if you do changes in the vendor this will get overwritten and this is not recommendable.

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

@ghermans Excuse me, when can you expect to solve this bug?

from laravel-data-faker.

devansh-webkul avatar devansh-webkul commented on August 16, 2024

Unfortunately, the latest version is on Laravel 8 and currently, this is not compatible. But your problem seems to be here,

"Webkul\\DataFaker\\": "src",

Just try to fix your composer autoload.

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

Unfortunately, the latest version is on Laravel 8 and currently, this is not compatible. But your problem seems to be here,

"Webkul\\DataFaker\\": "src",

Just try to fix your composer autoload.

I checked the factory dir and found it with capital D in Database and updated it, but nothing changed. still reduce the same error

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

@devansh-webkul Excuse me, can you give my any hint, how I can solve this issue?

from laravel-data-faker.

devansh-webkul avatar devansh-webkul commented on August 16, 2024

May i know what version of composer are you using?

from laravel-data-faker.

devansh-webkul avatar devansh-webkul commented on August 16, 2024

And one more thing I want to mention. Version 1.3.0 is not on Laravel 8,
https://github.com/bagisto/bagisto/blob/87d933648df2d80458df54622b1a6c065b7b7328/composer.json#L37

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

May i know what version of composer are you using?

Thanks for replaying @devansh-webkul . My Composer version is 2.1.5.

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

And one more thing I want to mention. Version 1.3.0 is not on Laravel 8,
https://github.com/bagisto/bagisto/blob/87d933648df2d80458df54622b1a6c065b7b7328/composer.json#L37

@devansh-webkul
Also my bagisto vesion is 1.3.2

from laravel-data-faker.

devansh-webkul avatar devansh-webkul commented on August 16, 2024

In that case, this will not work in your instance. I am marking this as an enhancement because this needs to be compatible. In your case, I just only recommend you to wait for this.

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

@devansh-webkul Thanks. Is there any other way to create dummy products?

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

Right now there is no way. Unless and until you can create your own script. But I recommend you to wait for this. Because even if you do changes in the vendor this will get overwritten and this is not recommendable.

@devansh-webkul Thanks a lot for your replaying and helping. when can we guess get this enhancement?

from laravel-data-faker.

devansh-webkul avatar devansh-webkul commented on August 16, 2024

Hi @AbdElrahmaN31,

I just checked this and currently, it is not met with the Laravel 8 complaints. So I am giving the quick fix for this.

Then, after that, we will improve the core first. Then again back to this one.

from laravel-data-faker.

devansh-webkul avatar devansh-webkul commented on August 16, 2024

Raised an issue to core for update the laravel factories also,
bagisto/bagisto#5165

from laravel-data-faker.

AbdElrahmaN31 avatar AbdElrahmaN31 commented on August 16, 2024

@devansh-webkul , Thanks a lot

from laravel-data-faker.

ghermans avatar ghermans commented on August 16, 2024

Closing this issue as it will be followed up with #24

from laravel-data-faker.

Related Issues (17)

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.