web-infra-dev / modern-js-examples

Examples for Modern.js web engineering system
30 stars 10 forks source link

The micro-frontend example can't run correctly. #10

Closed tjswk2008 closed 2 years ago

tjswk2008 commented 3 years ago
  1. cd to micro-frontend/main
  2. pnpm i
  3. pnpm dev
  4. error pops up

System Info

System:
  OS: Windows 10 10.0.16299
  CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
  Memory: 17.32 GB / 31.94 GB
Binaries:
  Node: 14.17.6 - D:\Programs\nodejs\node.EXE
  Yarn: 1.22.11 - G:\nodejs\npm_global_modules\yarn.CMD

Used Package Manager pnpm

Logs

$ modern dev
 > error: The entry point "D:/study/modern-js-micro-frontend/main/modern.config.js" cannot be marked as external
anc95 commented 3 years ago

This should be a problem with modern.js support for windows, and a version will be released this week to support windows systems.