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

Bagisto

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

How to change velocity color schemes according

Bug Report
3
3
235
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.
  • K
    KingDavid last edited by 31 Aug 2022, 13:44

    I am getting the following error after running npm run watch from inside the velocity package.

    I need help.

    webpack-cli] Error: Cannot find module 'colors'
    Require stack:

    • /Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/webpack.mix.js
    • /Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/laravel-mix/setup/webpack.config.js
    • /Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack-cli/lib/webpack-cli.js
    • /Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack-cli/lib/bootstrap.js
    • /Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack-cli/bin/cli.js
    • /Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack/bin/webpack.js
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)
      at Function.Module._load (internal/modules/cjs/loader.js:730:27)
      at Module.require (internal/modules/cjs/loader.js:957:19)
      at require (internal/modules/cjs/helpers.js:88:18)
      at Object.<anonymous> (/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/webpack.mix.js:3:16)
      at Module._compile (internal/modules/cjs/loader.js:1068:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
      at Module.load (internal/modules/cjs/loader.js:933:32)
      at Function.Module._load (internal/modules/cjs/loader.js:774:14)
      at Module.require (internal/modules/cjs/loader.js:957:19) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
      '/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/webpack.mix.js',
      '/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/laravel-mix/setup/webpack.config.js',
      '/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack-cli/lib/webpack-cli.js',
      '/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack-cli/lib/bootstrap.js',
      '/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack-cli/bin/cli.js',
      '/Applications/XAMPP/xamppfiles/htdocs/urbanmall/packages/Webkul/Velocity/node_modules/webpack/bin/webpack.js'
      ]
      }
    1 Reply Last reply Reply Quote 0
    • sanjay-webkul
      sanjay-webkul last edited by 2 Sept 2022, 07:30

      Hi there,
      For this you need to done changes on code, and after complete please run npm run watch after installing the npm inside the velocity package.

      1 Reply Last reply Reply Quote 0
      • 7 months later
      • T
        teecode last edited by 18 Mar 2023, 11:33

        @KingDavid Kindly install colors inside Velocity folder.
        npm i colors

        And run
        npm run watch or prod again.

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post