Category: Yarn JavaScript Package Manager
-
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: 14 1. When executing the command: yarn run prod, prompt: browserslist caniuse-lite is outdated. Please run npx browserslist@latest –update-db. as shown in Figure 1 2. Execute the command: npx browserslist@latest –update-db , caniuse-lite has been successfully updated, and the target browser has no changes. as shown in Figure 2 3. When executing the command: yarn run prod, an…