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
I get an error when I try to add MFLiveReloadPlugin to vue.config.js.
Maybe it's a babel problem, but I can't find the exact cause.
Help. I've been up all night for a few days...
Step 1. add Dependency
npm i -D @module-federation/fmr
Step 2. add vue.config.js MFLiveReloadPlugin
const { MFLiveReloadPlugin } = require("@module-federation/fmr"); <---!! error cause !!
Step 3. yarn build or yarn serve ..
error !
log:: yarn build then,
ERROR SyntaxError: Unexpected token '?'/Users/god/dev/pilot/web/mono-vue3-module-federation/components/comm-components/node_modules/@module-federation/fmr/src/server/sockets/modules/useSocketMessage.js:36 data: data ?? undefined, ^SyntaxError: Unexpected token '?' at wrapSafe (internal/modules/cjs/loader.js:931:16) at Module._compile (internal/modules/cjs/loader.js:979:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10) at Module.load (internal/modules/cjs/loader.js:879:32) at Function.Module._load (internal/modules/cjs/loader.js:724:14) at Module.require (internal/modules/cjs/loader.js:903:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (/Users/god/dev/pilot/web/mono-vue3-module-federation/components/comm-components/node_modules/@module-federation/fmr/src/server/sockets/handlers/index.js:4:30) at Module._compile (internal/modules/cjs/loader.js:1015:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
I get an error when I try to add MFLiveReloadPlugin to vue.config.js.
Maybe it's a babel problem, but I can't find the exact cause.
Help. I've been up all night for a few days...
Step 1. add Dependency
Step 2. add vue.config.js MFLiveReloadPlugin
Step 3. yarn build or yarn serve ..
Code : https://github.com/Shin-Beomchul/mono-vue3-module-federation/blob/master/components/comm-components/vue.config.js
The text was updated successfully, but these errors were encountered: