You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { createApp } from "vue";
import App from "./App.vue";
import { store } from "./store";
createApp(App)
.use(store)
.mount("#app");
store/index.ts
import { createPinia } from "pinia";
const store = createPinia();
export {
store
};
Steps to reproduce the behavior
$ npm i
$ npm run dev
Expected behavior
Vue results in error:
error when starting dev server:
Error: Build failed with 1 error:
node_modules/pinia/dist/pinia.esm-browser.js:6:31: error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "effectScope"
at failureErrorWithLog (/......./node_modules/esbuild/lib/main.js:1449:15)
at /......./node_modules/esbuild/lib/main.js:1131:28
at runOnEndCallbacks (/......./node_modules/esbuild/lib/main.js:921:63)
at buildResponseToResult (/......./node_modules/esbuild/lib/main.js:1129:7)
at /......./node_modules/esbuild/lib/main.js:1236:14
at /......./node_modules/esbuild/lib/main.js:609:9
at handleIncomingPacket (/......./node_modules/esbuild/lib/main.js:706:9)
at Socket.readFromStdout (/......./node_modules/esbuild/lib/main.js:576:7)
at Socket.emit (events.js:314:20)
at Socket.EventEmitter.emit (domain.js:483:12)
Are the vue an Pina version not compatible...? Any help would be appreciated here.
Kind Regards,
Wzz
The text was updated successfully, but these errors were encountered:
Reproduction
I have following config:
main.ts
store/index.ts
Steps to reproduce the behavior
Expected behavior
Vue results in error:
Are the vue an Pina version not compatible...? Any help would be appreciated here.
Kind Regards,
Wzz
The text was updated successfully, but these errors were encountered: