aweixin / aweixin.github.io

我的博客
https://aweixin.github.io
0 stars 1 forks source link

aweixin #9

Open aweixin opened 3 years ago

aweixin commented 3 years ago

https://aweixin.github.io/#/?id=%E5%89%8D%E8%A8%80

Description

aweixin commented 3 years ago

来做第一个留言的人吧!

aweixin commented 3 years ago

composer config -g repo.packagist composer https://packagist.org

aweixin commented 3 years ago

报错解决(1) 执行“composer create-project --prefer-dist laravel/laravel 项目名称”时报错

curl error 28 while downloading ———————————————— composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

aweixin commented 3 years ago

执行composer install遇到错误:Your requirements could not be resolved to an installable set of packages.

composer install --ignore-platform-reqs 或者 composer update --ignore-platform-reqs

aweixin commented 3 years ago

mac .env 需要添加 DB_SOCKET=/Applications/MAMP/tmp/mysql/mysql.sock

aweixin commented 3 years ago

laravel 关闭 csrf 验证 TokenMismatchException \App\Http\Middleware\VerifyCsrfToken::class,

aweixin commented 3 years ago

数据库回滚 php artisan migrate:rollback

填充Admin数据 php artisan db:seed --class=AdminTableSeeder

aweixin commented 2 years ago

aria2c --enable-rpc --rpc-listen-all

aweixin commented 2 years ago

node 环境切换 nvm

aweixin commented 2 years ago

patch-package 解决npm 包错误的问题。

aweixin commented 2 years ago

已有仓库 cd existing_git_repo git remote add origin https://gitee.com/xxxxxxx.git git push -u origin "master"

aweixin commented 1 year ago

https://sdkdns.github.io

aweixin commented 6 months ago

这将忽略依赖冲突,但可能导致潜在的问题。你可以运行以下命令: npm install --legacy-peer-deps

aweixin commented 6 months ago

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