Tag: yarn
-
Post Views: 45 1. An error is reported when executing YARN-related commands in Windows PowerShell: & as shown in Figure 1 2. Decide to replace & with “&”, and then execute: after the yarn hothop theme build is successful, an error is reported:hothopNot an internal or external command, nor is it a runnable program or batch file. 3. Add yarn…
-
Post Views: 16 1. When executing the yarn command, an error is reported: The engine “node” is incompatible with this module.expected version “^14.18.0 || ^16.14.0 || >=18.0.0”. Got “16.13.1”. as shown in Figure 1 2, ^16.14.0 is equivalent to >=16.14.0, <16.15, and decided to reinstall the latest version of 16 of Node.js. Open URL:https://nodejs.org/dist/latest-v16.x/Plan to download node-v16.20.2-x64.msi. However, it was…
-
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: 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.…