Uncaught Error: Could not resolve "react" imported by "rehackt". Is it installed? vue js

i got this error in my vue js application how can i handle this. i didnt get any solution for this
import ‘./assets/main.css’

import { createApp } from ‘vue’

import App from ‘./App.vue’
import router from ‘./router’

const app = createApp(App)


this is my main.js file

When using Vue, please make sure to import from @apollo/client/core, not from @apollo/client. I hope that solves your problem.

1 Like