Tag: Laravel Mix
-
Post Views: 20 1. In Laravel 6, when installing Laravel Mix (npm install), an error is reported: npm err! Eresolve Unable to resolve dependency tree. as shown in Figure 1 2. Find the existence of the program root directory: yarn.lock, replace with: yarn command, no more errors. as shown in Figure 2
-
Post Views: 73 1. When executing yarn, an error is reported: Failed to apply patch for package laravel-mix. patches\Laravel-mix+6.0.43.patch could not be parsed. as shown in Figure 1 2. Check the git log, the previous version of patches\Laravel-mix+6.0.43.patch is: patches\laravel-mix+6.0.48.patch. as shown in Figure 2 3. After deleting the directory: node_modules, execute again: yarn, and still report the same error.…
-
Post Views: 18 1. In Laravel 6, an error is reported: Illuminate\View\ViewException (E_ERROR) The mix manifest does not exist. as shown in Figure 1 2. Install Laravel Mix and execute the command: yarn install to install the npm dependency package of the current project 3. Run the MIX task and execute the command: npm run dev 4. Refresh the page,…
-
Post Views: 20 1. Use Composer locally to create a new Laravel project: laravel-theme-demo. 2. IGaster / Laravel-Theme is a Laravel package that adds basic support for management themes. It allows you to build views and assets in separate folders and support theme extensions. Execute the command: composer require “gaster/laravel-theme” to install igaster/laravel-theme. 3. Install Laravel Mix, execute: yarn install,…