DEV Community

Discussion on: Laravel and Svelte with Inertia

Collapse
 
faridsa profile image
farid

Hi, I like laravel and recently I give a try to svelte and I really like it, but now, trying to follow your setup I'm facing npm errors

npm install @ inertiajs/inertia @ inertiajs/inertia-svelte
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "@": Tags may not have any characters that encodeURIComponent encodes.
Enter fullscreen mode Exit fullscreen mode

Any idea on how to solve it? Cheers.

Collapse
 
dansvel profile image
dan

there is no space after @

pardon my post,,

Collapse
 
dansvel profile image
dan

this post is really old, i very recommen you check official documentation here

inertiajs.com/server-side-setup
inertiajs.com/client-side-setup

Collapse
 
faridsa profile image
farid

Thank you for your advise. Really appreciate it! Cheers.