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
You probably need to fork to be able to restart the server
Restart the server
Reload the sandbox browser
See the error
500
Cannot read properties of undefined (reading 'install')
at Function.Vue.use (file://./.nuxt/dist/server/server.mjs:7855:23)
at $id_c39524e4 (file://./.nuxt/dist/server/server.mjs:21584:7)
at async __instantiateModule__ (file://./.nuxt/dist/server/server.mjs:21780:3)
Expected behavior
A working application
Actual behavior
The server builds without an error, but when loading the page in the browser, the 500 error shows
Additional information
The application in the codesandbox works without vite:true. The error shows up when I add vite:true.
I'll copy some lines of code from my local environment where the error originates:
As you state that this only happens when you enable vite in nuxt-bridge, the original import in the package is fine, it's the vite mode that seems to break this particular import.
Could end up being a bug in vite in the end, but should be checked out in nuxt-bridge first.
Reproduction
https://codesandbox.io/s/bridge-with-pinia-omd9y?file=/nuxt.config.js
Steps to reproduce the behavior
Expected behavior
A working application
Actual behavior
The server builds without an error, but when loading the page in the browser, the 500 error shows
Additional information
The application in the codesandbox works without
vite:true
. The error shows up when I addvite:true
.I'll copy some lines of code from my local environment where the error originates:
Function.Vue.use (file://./.nuxt/dist/server/server.mjs:7855:23)
$id_b275682f (file://./.nuxt/dist/server/server.mjs:48398:7)
file dist.plugin.c9118ab8.mjs
The text was updated successfully, but these errors were encountered: