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
The important part that fails is middleware: ['auth'] as specified in the @nuxtjs/auth-next module docs as well as in the Nuxt docs.
Try to start the dev server.
Describe the bug
When running yarn dev the following error appears:
This is bc in node_modules/@nuxt/bridge/dist/chunks/module2.mjs:
at map((m) => ...) where m is simply the string "auth" and therefore m.src is undefined.
I raised this error already in the @nuxt/auth repo here, but they think it is a Nuxt Bridge problem and I agree, bc it shows up when following the Nuxt docs.
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v16.11.0
2.16.0-27299536.ab1c6cb4
[email protected]
Webpack
ssr
,components
,devtools
,sourcemap
,productionTip
,telemetry
,modern
,bridge
,publicRuntimeConfig
,privateRuntimeConfig
,head
,manifest
,pwa
,loading
,plugins
,modules
,buildModules
,buildDir
,router
,styleResources
,css
,vite
,axios
,io
,auth
,dateFns
,fontawesome
,toast
,sentry
,stripe
,render
@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,[email protected]
,portal-vue/nuxt
,v-wave/nuxt
@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@nuxt/[email protected]
,@nuxt/[email protected]
Reproduction
Add the following to
nuxt.config.js
:The important part that fails is
middleware: ['auth']
as specified in the@nuxtjs/auth-next
module docs as well as in the Nuxt docs.Try to start the dev server.
Describe the bug
When running
yarn dev
the following error appears:This is bc in
node_modules/@nuxt/bridge/dist/chunks/module2.mjs
:at
map((m) => ...)
wherem
is simply the string"auth"
and thereforem.src
is undefined.I raised this error already in the
@nuxt/auth
repo here, but they think it is a Nuxt Bridge problem and I agree, bc it shows up when following the Nuxt docs.The text was updated successfully, but these errors were encountered: