Category: Windows Terminal

pnpm : 无法加载文件 C:\Users\Thinkpad\AppData\Roaming\npm\pnpm.ps1,因为在此系统上禁止运行脚本 0

pnpm : cannot load file c:\users\thinkpad\appdata\roaming\npm\pnpm.ps1 because it is forbidden to run scripts on this system

浏览量: 15 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,...

运行时报错:syntax error near unexpected token `$'\r'' 0

Run .sh or shell script files using WSL in Windows 10

浏览量: 76 1. Enable WSL, refer to: https://www.shuijingwanwq.com/en/2021/12/23/9949/ , execute to step 5 3, the existing test.sh file, the code is as follows 4. Run Windows Terminal as an administrator and execute the command:...

拉取最新代码后,再次执行命令,报错:Error response from daemon: error while creating mount source path。 0

When executing the command: docker-compose -f docker-compose.yml up –build –force-recreate an error: ERROR[startup_object-fpm internal]Load metadata for docker.io/library/php:7.4-fpm-alpine

浏览量: 13 1. When executing the command: docker-compose -f docker-compose.yml up –build –force-recreate, an error: error[startup_object-fpm internal]Load metadata for docker.io/library/php:7.4-fpm-alpine . 2. After pulling the latest code, execute the command again, and report an...

分别打开:http://sail-project-1.test 、http://sail-project-2.test 0

In Windows 10 Professional, use multiple Laravel Sail environments and set your desired domain name

浏览量: 55 1. Install Nginx Proxy Manager, open the Windows Terminal command line, and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Enter the user root directory,...

在 WSL2 中的 Ubuntu 系统中,执行命令:sudo apt install php7.4-cli,报错:E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb 404 Not Found [IP: 91.189.88.152 80]。 0

In the Ubuntu system in WSL2, execute the command: sudo apt install php7.4-cli, report error: e: failed to fetchhttp://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb404 Not Found[IP: 91.189.88.152 80]

浏览量: 14 1. In the Ubuntu system in WSL2, execute the command: sudo apt install php7.4-cli, report an error: e: failed to fetchhttp://security.ubuntu.com/ubuntu/pool/main/p/php7.4/php7.4-common_7.4.3-4ubuntu2.5_amd64.deb404 Not Found[IP: 91.189.88.152 80]. as shown in Figure 1 2. Based...

运行命令:./vendor/bin/sail up -d。创建容器成功。 0

Create a Weibo application in Windows 10 Professional, based on the Laravel Sail development environment

浏览量: 12 1. Use Composer to create an application called weibo. Open the Windows Terminal command line and follow the instructions below to enter the Ubuntu system. as shown in Figure 1 2. Ubuntu,...

在浏览器中打开网址:http://example-app.test/ 。响应 200。 0

Build a Laravel Sail development environment in Windows 10 Professional

浏览量: 107 1. Laravel Sail requires Windows 10 systems that support WSL 2. The 2004 version released in May 2020 only supports the WSL 2 function, so our system needs to be updated to...