Category: Node.js Extension
-
Post Views: 22 1. npm : The file cannot be loaded c:\program files\nodejs\npm.ps1 because the script is prohibited from running on this system. For more information, see about_execution_policies in https:/go.microsoft.com/fwlink/?LinkId=135170. 2. Confirm that the file C:\Program Files\NodeJS\npm.ps1 exists. as shown in Figure 1 3. Enter one of the following commands to change the execution policy, which is permanently changed (valid…
-
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: 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: 19 1. Reference:Deploy Shopify PHP application to production environment (CentOS 7.7 64-bit in Alibaba Cloud, ECS, MySQL 5.7) 2. When the application: learn-php-app-ubuntu-2004-0605 is newly created and deployed the theme application extension. The test passed, in line with expectations. as shown in Figure 1 3. Upload the application in the local environment: learn-php-app-ubuntu-2004-0605 Web The code below is…
-
Post Views: 155 1. There is a Shopify PHP application, which can already be previewed in the development environment. as shown in Figure 1 2. Now it is ready to be deployed to the production environment. Shopify recommends creating a separate application if you need to deploy the application to the production environment. This application shares the code base with…
-
Post Views: 15 1. When executing: npm run build, an error is reported: ln -sf ../frontend/dist/assets public/assets,lnIs not recognized as an internal or external command, operatorable program or batch file. . as shown in Figure 1 2. Since the Windows system does not support it, I finally decided to execute this command in the Ubuntu-20.04 system in WSL2. Tip: No…
-
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,…