Skip to content

Commit ca4dad0

Browse files
fix '@vitejs/plugin-vue' conflict with laravel 12.X (#279)
npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: undefined@undefined npm error Found: [email protected] npm error node_modules/vite npm error dev vite@"^6.0.11" from the root project npm error npm error Could not resolve dependency: npm error peer vite@"^4.0.0 || ^5.0.0" from @vitejs/[email protected] npm error node_modules/@vitejs/plugin-vue npm error dev @vitejs/plugin-vue@"^4.5.0" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/zohaib/.npm/_logs/2025-02-25T19_00_59_469Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/zohaib/.npm/_logs/2025-02-25T19_00_59_469Z-debug-0.log
1 parent 5299b9b commit ca4dad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Presets/Vue.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public static function install()
3131
protected static function updatePackageArray(array $packages)
3232
{
3333
return [
34-
'@vitejs/plugin-vue' => '^4.5.0',
35-
'vue' => '^3.2.37',
34+
'@vitejs/plugin-vue' => '^5.2.1',
35+
'vue' => '^3.5.13',
3636
] + Arr::except($packages, [
3737
'@vitejs/plugin-react',
3838
'react',

0 commit comments

Comments
 (0)