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
Then run pnpm dev command and the terminal will report an error:
(node:6974) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///Users/gongph/Documents/github-repo/module-federation-rsbuild/remote-vue/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_re_h6sh7kbpvxdxmj75yl4sew47pu/node_modules/@module-federation/rsbuild-plugin/dist/index.esm.js is not specified and it doesn't parse as CommonJS.
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
To eliminate this warning, add "type": "module" to /Users/gongph/Documents/github-repo/module-federation-rsbuild/remote-vue/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_re_h6sh7kbpvxdxmj75yl4sew47pu/node_modules/@module-federation/rsbuild-plugin/package.json.
(Use `node --trace-warnings ...` to show where the warning was created)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
rsbuild.config.js
Then run
pnpm dev
command and the terminal will report an error:package.json
Beta Was this translation helpful? Give feedback.
All reactions