• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

setBagistoVite() Error

General Discussion
vite bagistovite
4
7
399
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    Tim last edited by 4 Nov 2024, 14:44

    Hello,
    I Would appreciate some assistance on this challenge I'm experiencing in bagisto.
    I keep getting this error:
    Next Illuminate\View\ViewException: Call to a member function setBagistoVite() on null (View: ..../packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) (View: .../packages/Webkul/Shop/src/Resources/views/components/layouts/index.blade.php) in .../packages/Webkul/Theme/src/Themes.php:279

    I get this despite not making any changes to the code. The installation was successful but this error popped up a few days after successful operation of the site.

    ashish2409 1 Reply Last reply 6 Nov 2024, 05:00 Reply Quote 0
    • ashish2409
      ashish2409 @Tim last edited by 6 Nov 2024, 05:00

      @Tim

      I hope you are doing great.

      Can you assist us with what all steps you followed in the installation and which branch or specific version you are installing.
      It would really be helpful for us as well. So that we can figure out and check the same from our end as well.

      Thanks
      Looking ahead for your reply.

      S 1 Reply Last reply 3 Jan 2025, 17:25 Reply Quote 0
      • 2 months later
      • S
        saqib @ashish2409 last edited by 3 Jan 2025, 17:25

        @ashish2409 i am facing this issue also. what there error? i install bagisto with all steps following

        1 Reply Last reply Reply Quote 0
        • Rishabh-Webkul
          Rishabh-Webkul last edited by 6 Jan 2025, 06:04

          Hello @saqib

          Did you install the node modules ( npm install ) if yes then after that Kindly run npm run dev in your root directory of Bagisto.

          Kindly check and let us know is everything working fine.

          Thanks & Regards

          S 1 Reply Last reply 17 Jan 2025, 12:45 Reply Quote 0
          • 11 days later
          • S
            saqib @Rishabh-Webkul last edited by 17 Jan 2025, 12:45

            @Rishabh-Webkul said in setBagistoVite() Error:

            Did you install the node modules ( npm install )

            only this in root directory? or shop package also?

            S 1 Reply Last reply 20 Jan 2025, 17:09 Reply Quote 0
            • S
              saqib @saqib last edited by 20 Jan 2025, 17:09

              @saqib said in setBagistoVite() Error:

              only this in root directory? or shop package also?

              any update?

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by Rishabh-Webkul 23 Jan 2025, 07:00 23 Jan 2025, 07:00

                Hello @saqib

                There is a blog and tutorial video of a custom theme in which we have done the vite setup. Kindly check this out for your reference.

                Blog: https://bagisto.com/en/create-custom-theme-in-bagisto/

                Video: https://www.youtube.com/watch?v=K3FdBDsXAH8&ab_channel=Bagisto

                Thanks & Regards

                1 Reply Last reply Reply Quote 0
                6 out of 7
                • First post
                  6/7
                  Last post