Issue with laravel9 inertia js

hiii

i have this err :
Sep 30 12:58:46 PM error Found incompatible module.
Sep 30 12:58:46 PM info Visit yarn install | Yarn for documentation about this command.
Sep 30 12:58:47 PM yarn run v1.22.5
Sep 30 12:58:47 PM warning package.json: “dependencies” has dependency “@vitejs/plugin-vue” with range “^3.1.0” that collides with a dependency in “devDependencies” of the same name with version “^3.0.0”
Sep 30 12:58:47 PM warning package.json: “dependencies” has dependency “vue” with range “^3.2.36” that collides with a dependency in “devDependencies” of the same name with version “^3.2.31”
Sep 30 12:58:47 PM $ vite build
Sep 30 12:58:47 PM /bin/sh: 1: vite: not found
Sep 30 12:58:47 PM error Command failed with exit code 127.
Sep 30 12:58:47 PM info Visit yarn run | Yarn for documentation about this command.
Sep 30 12:58:47 PM ==> Build failed :disappointed:

It sounds like you’re dependency versions are a little messed up here and you have different version dependency versions. Perhaps share your package.json here and the community can advise what you need to do?

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.