Category: Commonly Used JavaScript Packages
-
Post Views: 19 1. Execute: When YARN Shopify App Generate Extension, an error is reported: ERROR COULDNT find a package.json file in “E:\\wwwroot\\shopify-theme-app-extension\\20221012” info visithttps://yarnpkg.com/en/docs/cli/runfor documentation about this command. as shown in Figure 1 2. Reference:https://classic.yarnpkg.com/en/docs/cli/init. Create or update the package.json file interactively. Execute: yarn init. as shown in Figure 2 3. View the generated package.json file 4. Error: Error…
-
Post Views: 20 1. Lerna err! Yarn run prod exited 1 in@theme/objectError command failed with exit code 1. as shown in Figure 1 2. Decide to delete the directory: node_modules, and execute the yarn and yarn prod commands again.
-
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…