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
Getting a build error that that Module parsing failed. Please help :(
Additional context
No response
Logs
ERROR in ./node_modules/@nuxt/bridge/dist/runtime/composables.mjs 30:22
Module parse failed: Unexpected token (30:22)
File was processed with these loaders:
* ./node_modules/unplugin/dist/webpack/loaders/transform.js
* ./node_modules/thread-loader/dist/cjs.js
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|returnuseVueRouter();
| }
>returnuseNuxtApp()?.nuxt2Context.app.router;
| };|export const useRoute = () => {
@ ./node_modules/@nuxt/bridge/dist/runtime/index.mjs 2:0-34 2:0-34
@ ./.nuxt/capi.plugin.mjs
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./.nuxt/client.js
ERROR in ./node_modules/@nuxt/bridge/dist/runtime/config.plugin.mjs 8:27
Module parse failed: Unexpected token (8:27)
File was processed with these loaders:
* ./node_modules/unplugin/dist/webpack/loaders/transform.js
* ./node_modules/thread-loader/dist/cjs.js
* ./node_modules/babel-loader/lib/index.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) {
@ ./.nuxt/index.js 21:0-82 271:13-46 272:10-43
@ ./.nuxt/client.js
@ multi ./.nuxt/client.js
ERROR in ./node_modules/@nuxt/bridge/dist/runtime/app.plugin.mjs 94:59
Module parse failed: Unexpected token (94:59)
File was processed with these loaders:
* ./node_modules/unplugin/dist/webpack/loaders/transform.js
* ./node_modules/thread-loader/dist/cjs.js
* ./node_modules/babel-loader/lib/index.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 20:0-76 268:13-43 269:10-40
@ ./.nuxt/client.js
@ multi ./.nuxt/client.js
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Describe the bug
Getting a build error that that Module parsing failed. Please help :(
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: