federated-libraries-get-started icon indicating copy to clipboard operation
federated-libraries-get-started copied to clipboard

Error: Module "./SayHelloFromB" does not exist

Open maicFir opened this issue 2 years ago • 2 comments

hi,I have a problem in this your project,when i run npm run start

container-entry:12 Uncaught (in promise) Error: Module "./SayHelloFromB" does not exist in container. while loading "./SayHelloFromB" from 184 at container-entry:12:11 at async Promise.all (:3001/index 0) at async Promise.all (:3001/index 1)

container-entry:12 Uncaught (in promise) Error: Module "./SayHelloFromA" does not exist in container. while loading "./SayHelloFromA" from 980 at container-entry:12:11 at async Promise.all (:3002/index 0) at async Promise.all (:3002/index 1)

Looking forward to your reply, thanks very much

maicFir avatar Jul 04 '22 14:07 maicFir

In webpack.config.js of application-b, you need to change 'SayHelloFromB' in exposes to './SayHelloFromB'

Li0622 avatar Nov 30 '22 01:11 Li0622

In webpack.config.js of application-b, you need to change 'SayHelloFromB' in exposes to './SayHelloFromB'

thx, it's work

image

WayneGongCN avatar Mar 23 '23 13:03 WayneGongCN