Return to homepage

Comments

ahmed khaleel

npx apply laravel:vite

[ info ] Applying preset laravel:vite. [ error ] Access to laravel-presets/vite denied. If you think it's an error, make sure you have an SSH key set up and linked to your Git account. If the repository is public and you don't want to configure SSH, use the --no-ssh flag. npm ERR! code 1 npm ERR! path /Applications/XAMPP/xamppfiles/htdocs/laravel-pagination npm ERR! command failed npm ERR! command sh -c apply 'laravel:vite'

npm ERR! A complete log of this run can be found in: npm ERR! /Users/ahmedkhaleel/.npm/_logs/2022-05-18T12_04_30_292Z-debug.log

what the solutions?

  • 0
Nathan

This was really useful! It would be handy if you could go through how to combine the cursor pagination with api resources.

  • 1
Huy

hi Alex, I follow your instruction to set up laravel-vite with this command "npx @preset/cli apply laravel:vite" but the output is different from the one in your video. There aren't app.blade.php, App.vue and main.ts file is empty and it seems Vuejs wasn't installed. Please give me some advice on how to move forward. Thank you

  • 1
andi

you can use latest('id') so unnecessary to update created_at haha

  • 0
Ruslan

Awesome, thank you Alex!

  • 0