-
-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Environment
Nuxt project info: 19:08:05
- Operating System:
Linux - Node Version:
v16.15.0 - Nuxt Version:
2.16.0-27358576.777a4b7f - Package Manager:
npm@8.5.5 - Builder:
webpack - User Config:
ssr,target,components,loading,runtimeConfig,head,css,plugins,buildModules,loadingIndicator,modules,axios,auth,pwa,build,bridge - Runtime Modules:
bootstrap-vue/nuxt,@nuxtjs/axios@5.13.6,@nuxtjs/pwa@3.3.5,@nuxtjs/auth-next@5.0.0-1648802546.c9880dc - Build Modules:
@nuxtjs/google-analytics@2.4.0,@nuxtjs/fontawesome@1.1.2,@nuxt/postcss8@1.1.3,@nuxt/bridge@0.10.1
Reproduction
https://github.com/nuxt/framework
Describe the bug
`
ERROR in ./node_modules/@nuxt/bridge-edge/dist/runtime/app.plugin.mjs 102:59
Module parse failed: Unexpected token (102:59)
File was processed with these loaders:
- ./node_modules/unplugin/dist/webpack/loaders/transform.js
You may need an additional loader to handle the result of these loaders.
| get (target, prop) {
| if (prop[0] === '$') {
return target.nuxt2Context[prop] || target.vue2App?.[prop]
| }
| return Reflect.get(target, prop)
@ ./.nuxt/index.js 46:0-76 393:25-55 399:19-49
@ ./.nuxt/client.js
@ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/@nuxt/bridge-edge/dist/runtime/capi.plugin.mjs ./.nuxt/client.js
ERROR in ./node_modules/@nuxt/bridge-edge/dist/runtime/composables.mjs 27:27
Module parse failed: Unexpected token (27:27)
File was processed with these loaders:
- ./node_modules/unplugin/dist/webpack/loaders/transform.js
You may need an additional loader to handle the result of these loaders.
| return target.public;
| }
return target[prop] ?? target.public[prop];
| },
| set(target, prop, value) {
@ ./node_modules/@nuxt/bridge-edge/dist/runtime/index.mjs 2:0-34 2:0-34
@ ./node_modules/@nuxt/bridge-edge/dist/runtime/capi.plugin.mjs
@ multi ./node_modules/@nuxt/components/lib/installComponents.js ./node_modules/@nuxt/bridge-edge/dist/runtime/capi.plugin.mjs ./.nuxt/client.js
ERROR Nuxt build error 19:07:02
at WebpackBundler.webpackCompile (node_modules/@nuxt/webpack-edge/dist/webpack.js:1870:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async WebpackBundler.build (node_modules/@nuxt/webpack-edge/dist/webpack.js:1835:5)
at async Builder.build (node_modules/@nuxt/builder-edge/dist/builder.js:262:5)
at async Object.invoke (node_modules/nuxi-edge/dist/chunks/build.mjs:41:5)
at async Object.invoke (node_modules/nuxi-edge/dist/chunks/generate.mjs:28:5)
at async _main (node_modules/nuxi-edge/dist/cli.mjs:46:20)
`
Additional context
No response
Logs
No response