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)
Describe the bug
This bug was first reported in vuejs/pinia and LinuxBorg suggested that this would likely be a Nuxt(bridge) or Vite bug.
Environment
Nuxt CLI v3.0.0-27398533.8edd481 07:46:42
RootDir: /sandbox 07:46:42
Nuxt project info: 07:46:42
Linux
v16.12.0
2.16.0-27358576.777a4b7f
[email protected]
Webpack
bridge
,modules
,buildModules
@nuxtjs/[email protected]
@pinia/[email protected]
,@nuxt/[email protected]
Reproduction
https://codesandbox.io/s/bridge-with-pinia-omd9y?file=/nuxt.config.js
Steps to reproduce the behavior
Describe the bug
This bug was first reported in vuejs/pinia and LinuxBorg suggested that this would likely be a Nuxt(bridge) or Vite bug.
Issue in vuejs/pinia: vuejs/pinia#1024
The code runs fine in Codesandbox without
vite:true
, but when I addvite:true
to the nuxt.config.js it fails.Additional context
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
Logs
No response
The text was updated successfully, but these errors were encountered: