Category: Commonly Used JavaScript Packages
-
Post Views: 20 1. pnpm : The file cannot be loaded c:\users\thinkpad\appdata\roaming\npm\pnpm.ps1, because running scripts are prohibited on this system. as shown in Figure 1 2. Reference: about_execution_policies . Instead of executing in the terminal, it is executed in the command prompt, and it is found that the execution is successful. as shown in Figure 2
-
Post Views: 13 1. When executing: npm run build:admin, an error is reported: nx failed to process the project graph with “nx-js-graph-plugin”. as shown in Figure 1 2. The reason should be that the default package manager of this project is PNPM, as shown in Figure 2 3. Final execution in sequence: pnpm install, pnpm run build: admin. If the…
-
Post Views: 21 1. When executing the command: npm run Deploy, an error is reported: Upgrade your CLI version to run the Deploy command. Prompt to upgrade the version of the CLI. as shown in Figure 1 2. When running: npm run Shopify version, prompt: Running this command will add the dependency to the workspace root rather than the workspace…
-
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: 17 1. When executing: Shopify version, prompt: Version 3.49.7 Available!. 2. Execute: Shopify Upgrade Success (Hint: Success! Upgraded Shopify CLI to Version 3.49.7.), check the version information, still prompt: version 3.49.7 Available!. as shown in Figure 1 3. Decide to replace npm install -g with yarn global add, execute: yarn global add @shopify/cli @shopify/theme. After the execution is…
-
Post Views: 12 1. When executing: Shopify version, prompt: Version 3.49.3 Available!, but when executing: Shopify Upgrade, it also prompts: No need to upgrade!. as shown in Figure 1 2. Reinstall the @shopify/cli and @shopify/theme node.js package globally. Execute again: when Shopify Upgrade, prompt: Upgrading CLI from 3.44.1 to 3.49.3…. in line with expectations. as shown in Figure 2
-
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: 36 1. Reference:Install Shopify CLI 3.0 (based on Node.js) in Windows 10 Professional, check in advance whether the corresponding requirements are met . 2. Reference:The requirements in Linux are as follows 3. Node.js is not installed, refer to:Installation . Installation failed. 4. Execute the command: sudo apt-get update 5. Execute the command again: sudo apt-get install -y nodejs,…
-
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: 18 1. When running in the Shopify application: YARN DEV, an error is reported: Bundler version 2.3.7 is not supported. as shown in Figure 1 2. To update to the latest version of Bundler, run gem install bundler. 3. Run again: yarn dev, no more errors.