Category: Ruby/Rails Development Tools
-
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: 18 1. Reference: Install Shopify CLI 3.0 (based on Node.js) in Windows 10 Professional Edition. After installation, you will be prompted that the new version of Shopify CLI is available! Your version is 2.15.6 and the latest version is 2.34.0. To upgrade, follow the instructions of the package manager you are using:https://shopify.dev/tools/cli/troubleshooting#upgrade-shopify-cli 2. To upgrade Shopify CLI 3.x…
-
Post Views: 19 1. Reference:https://shopify.dev/themes/tools/cli/install#requirements, the requirements in Windows are as follows 2. The version of Node.js is: V16.13.1, which is higher than 14.17.0. meet the requirements. 3. Reference:https://www.shuijingwanwq.com/2022/05/10/6388/. Steps 1 and 2. The version of Ruby+DevKit is: 3.1.x (x64), which is higher than Ruby+DevKit 3.0. meet the requirements. 4. The version of Bundler is: 2.3.24, which is higher than…
-
Post Views: 15 1. After formatting the homestead.yaml file in phpstorm, the indentation of the format is incorrect, the format is as follows. as shown in Figure 1 2. Check the format of homestead.yaml.example, – there is only one space with map. as shown in Figure 2 3. Reference:https://www.jetbrains.com.cn/help/phpstorm/2021.3/yaml.html. Settings – Editor – Code Style – YAML . Settings may…
-
Post Views: 58 1. When starting vagrant, an error is reported: stderr: vboxmanage.exe: error: whvCapabilityCodeHypervisorPresent is false! make sure you have enabled theWindows Hypervisor Platformfeature. (verr_nem_not_available).. as shown in Figure 1 2. Standard error: vboxmanage.exe: error: whvCapabilityCodeHypervisorPresent is false! Make sure you have the “Windows Hypervisor Platform” feature enabled. (verr_nem_not_available). Right-click the Windows button and select “Apps and Features”. Select…
-
Post Views: 16 1. When starting Vagrant, an error is reported: D:/Program files/hashicorp/vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (psych::SyntaxError). as shown in Figure 1 2. View the file ~/homestead/homestead.yaml in phpstorm, and find a red wavy line prompt. The reason may be that it has been…
-
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.
-
Post Views: 21 1. Timed out while waiting for the machine to boot. The configured (“config.vm.boot_timeout” value) time period. as shown in Figure 1 2. Although the map has been modified to e:/wwwroot/vagrant, it was: ~/code before. Still decide to create a new directory: ~/code 3. Run again: vagrant reload –provision, no more errors.
-
Post Views: 16 1. Execute: Vagrant up error: The name of your virtual machine could beT Be Set Because VirtualBox is reporting another VM with that name already exists. as shown in Figure 1 2. After deleting Vagrant, open the VirtualBox GUI to confirm whether it exists, and then manually delete the virtual machine. as shown in Figure 2 3.…
-
Post Views: 20 1. Execute the Composer Update in Homestead and report an error: Your requirements could not be resolved to an installable set of packages. The reason is that the PHP version is 8.0 , and the version of the package depends on 7. as shown in Figure 1 2. Reference:https://learnku.com/docs/laravel/5.8/homestead/3882#multiple-php-versions. Homestead 6 introduced support for multiple PHP versions…