Closed linqiqi077 closed 3 years ago
你用什么命令启动的?
你用什么命令启动的?
yarn bootstrap yarn start 这样启动可以启动一部分,但是主应用没启动起来,只能单独访问子应用
后来直接进去main-react16目录下启动yarn dev,报了上述错误
这个原因是因为没有microapp本地文件,运行yarn build:watch就可以了
这个原因是因为没有microapp本地文件,运行yarn build:watch就可以了
昨天使用windiws环境进行操作报的错误,今天换成wsl倒是好了。是否没在win环境跑过?
试过,没问题
Module not found: Error: Can't resolve '@micro-zoe/micro-app' in 'C:\Users\Administrator\Desktop\micro-app\examples\main-react16\src error in ./src/layouts/BasicLayout.jsx
Module not found: Error: Can't resolve '@micro-zoe/micro-app' in 'C:\Users\Administrator\Desktop\micro-app\examples\main-react16\src\layouts'
error in ./src/pages/angular11/angular11.js
Module not found: Error: Can't resolve '@micro-zoe/micro-app/polyfill/jsx-custom-event' in 'C:\Users\Administrator\Desktop\micro-app\examples\main-react16\src\pages\angular11'
error in ./src/pages/multiple/multiple.js
Module not found: Error: Can't resolve '@micro-zoe/micro-app/polyfill/jsx-custom-event' in 'C:\Users\Administrator\Desktop\micro-app\examples\main-react16\src\pages\multiple'
error in ./src/pages/react16/react16.js ...