Missing cross-env in examples
I tried to run Multi Example on Windows in Powershell and failed.
Fix
Add cross-env and prefix NODE_ENV=production with cross-env.
I am willing to make a PR. :)
Hi, we are using pnpm --filter command.
Can you share your error please?
I'll do when I'm on PC, from mobile I can only point here, it's root cause of error. When I prefix those with cross-env (after their install) it works.
This command is run from top-level start with --filter you mention. :)
https://github.com/module-federation/vite/blob/04f7d5939c47fb05006f7d1b95c8cd24e41d8dcb/examples/vite-webpack-rspack/rspack/package.json#L6
As there's been no activity for 30 days, this issue has been flagged as stale. If you'd like it to remain open, please add a comment within the next 7 days. Thank you.