Show your package.json please :)
@inertiajs/inertia directory is missing innode_modules, how to install it?
Hi. I have a project where I used Breeze and it all works well (I installed that project a few months ago). I copied setting from that project to a new project this week and everything is the same but one thing.
I get this error: [plugin:vite:import-analysis] Failed to resolve import "@inertiajs/inertia" from "resources/js/Pages/Admin/AddSong.vue". Does the file exist?
When I look at node_modules "@inertiajs" directory, I see in the original project the directories: "inertia", "inertia-vue3" and "progress". but on my new project the directories "inertia" and "inertia-vue3" does not exist. All I have there is "core" and "vue3" directories.
a bit more information - I"m trying to use Inertia.post, however I don't think it is related. I'm pretty sure that getting the "inertia" directory in "@inertiajs" will solve my problem.
Anyone knows why this happens and how to solve it? Thanks.
@haim That looks correct. It seems that someone upgraded inertia to the newest version but didnt follow the upgrade guide for that one file :) (maybe more?) @inertiajs/inertia does not exist anymore
Please or to participate in this conversation.