bagisto: Can't locate path for migrations in bagisto/packages
Clean install via zip file and composer install but when publishing assets shows error: Can’t locate path
Copied Directory [/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views] To [/resources/views/errors]
Copied Directory [/vendor/laravel/framework/src/Illuminate/Notifications/resources/views] To [/resources/views/vendor/notifications]
Copied Directory [/vendor/laravel/framework/src/Illuminate/Pagination/resources/views] To [/resources/views/vendor/pagination]
Copied File [/vendor/flynsarmy/db-blade-compiler/config/.gitkeep] To [/storage/app/db-blade-compiler/views/.gitkeep]
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Attribute/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/BookingProduct/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Category/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Checkout/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Core/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Customer/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Inventory/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Product/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Sales/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Tax/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/User/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/CatalogRule/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/CartRule/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/CMS/src/resources/database/migrations>
Can't locate path: </Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/Velocity/src/resources/database/migrations>
Copied Directory [/vendor/bagisto/bagisto/packages/Webkul/Admin/publishable/assets] To [/public/vendor/webkul/admin/assets]
Copied Directory [/vendor/bagisto/bagisto/packages/Webkul/Ui/publishable/assets] To [/public/vendor/webkul/ui/assets]
Copied Directory [/vendor/bagisto/bagisto/packages/Webkul/Shop/publishable/assets] To [/public/themes/default/assets]
Copied Directory [/vendor/bagisto/bagisto/packages/Webkul/Velocity/publishable/assets] To [/public/themes/velocity/assets]
Copied Directory [/vendor/bagisto/bagisto/packages/Webkul/Velocity/src/Resources/views/shop] To [/resources/themes/velocity/views]
Copied Directory [/vendor/bagisto/bagisto/packages/Webkul/BookingProduct/publishable/assets] To [/public/themes/default/assets]
Copied Directory [/packages/Webkul/UpgradeVersion/publishable/assets] To [/public/vendor/webkul/upgrade-version/assets]
Copied Directory [/vendor/laravel/framework/src/Illuminate/Mail/resources/views] To [/resources/views/vendor/mail]
Publishing complete.
Environment is docker nginx 1.6 / php-fpm 7.3.16
Looking at the code inside class CartRuleServiceProvider it loads the migrations from: $this->loadMigrationsFrom(DIR . ‘/…/Database/Migrations’);
But composer is looking in resources with lowercase: /Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/CartRule/src/resources/database/migrations
The real path is: /Users/john/Sites/bagisto/vendor/bagisto/bagisto/packages/Webkul/CartRule/src/Database/Migrations
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (3 by maintainers)
Commits related to this issue
- Merge pull request #3920 from devansh-webkul/migration_path_isssue Fixed Migration Path Issue #3807 — committed to bagisto/bagisto by jitendra-webkul 4 years ago
@howdu this bug is fixed now. kindly install bagisto from the master branch and check.
@sergiocntr make sure the rewrite_mode is enabled in the apache configuration.
@sergiocntr you may follow the below steps to install the bagisto
run the below commands