错误一
PS D:\aaa\warehouse_boot_pc> yarn
yarn install v1.22.22
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files.
To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "element-plus > lodash-unified@1.0.3" has unmet peer dependency "@types/lodash-es@*".
[4/4] Building fresh packages...
⠁
error D:\aaa\warehouse_boot_pc\node_modules\esbuild: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: D:\aaa\warehouse_boot_pc\node_modules\esbuild
Output:
乱码
错误二
PS D:\aaa\warehouse_boot_pc> yarn dev
yarn run v1.22.22
$ vite
系统找不到指定的路径。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.