You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 133.0.6863.1 (Official Build) canary-dcheck (arm64)
Running in Sail?
No
Description
This happens during install:
INFO No publishable resources for tag [laravel-assets].
No security vulnerability advisories found.
INFO Published API routes file.
INFO API scaffolding installed. Please add the [Laravel\Sanctum\HasApiTokens] trait to your User model.
INFO Middleware [app/Http/Middleware/HandleInertiaRequests.php] created successfully.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: vite@5.4.11
npm ERR! node_modules/vite
npm ERR! dev vite@"^5.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^6.0.0" from laravel-vite-plugin@1.1.0
npm ERR! node_modules/laravel-vite-plugin
npm ERR! dev laravel-vite-plugin@"^1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/gary/.npm/_logs/2024-12-03T05_32_36_453Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/gary/.npm/_logs/2024-12-03T05_32_36_453Z-debug-0.log
### Steps To Reproduce
composer global update
laravel new app_name
(Choose Jetstream + Inertia)
The text was updated successfully, but these errors were encountered:
I'm guessing the laravel new has not been synced, and looking at the latest Laravel package.json, the quick fix is in your package.json devDependencies to match. i.e.
Vite Plugin Version
1.1
Laravel Version
11 via
laravel new
Node Version
18.18.2
NPM Version
10.4
Operating System
macOS
OS Version
15.1.1
Web browser and version
Version 133.0.6863.1 (Official Build) canary-dcheck (arm64)
Running in Sail?
No
Description
This happens during install:
The text was updated successfully, but these errors were encountered: