-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本地开发链接生产环境的联邦模块时,使用Bridge加载模块,报错 #3216
Comments
Suggestions:
|
@danpeen this might be your arra of expertise |
ok, i will take a look as soon as possible |
@dnwu i cann't visit |
@dnwu sorry for the late response, can i know have you solved this issue? if any help i can provide. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
报错信息
![img_v3_02gi_7376263c-ebab-49aa-ab16-2d82bb8974fg](https://private-user-images.githubusercontent.com/28592685/385238693-b53bc009-1910-4e58-a97b-d464c476166f.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3ODIyOTEsIm5iZiI6MTczOTc4MTk5MSwicGF0aCI6Ii8yODU5MjY4NS8zODUyMzg2OTMtYjUzYmMwMDktMTkxMC00ZTU4LWE5N2ItZDQ2NGM0NzYxNjZmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDA4NDYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlZmNlZGUwZDk2NzliOWI0YjE2ODU1NzQ0MzBlODc2MzU3ZGQ0NjEwNWIxYTdmOTA2MDM5OTYxNTJhZWZlNzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JW7G3HIAww4w68uEYQmfUf5sQ7r8EiBxabeb65DVoNc)
静态文件地址可访问,例如demo中的另外一个模块button是可以正常加载的,layout是被bridge包括的
demo如下
demo.zip
provider是发布在了ng
cunsumer是本地起的服务
Reproduction
Used Package Manager
npm
System Info
Validations
English
When linking federated modules from the production environment in local development, an error occurs while using Bridge to load the modules.
Describe the Bug
Error message:
![img_v3_02gi_7376263c-ebab-49aa-ab16-2d82bb8974fg](https://private-user-images.githubusercontent.com/28592685/385238693-b53bc009-1910-4e58-a97b-d464c476166f.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3ODIyOTEsIm5iZiI6MTczOTc4MTk5MSwicGF0aCI6Ii8yODU5MjY4NS8zODUyMzg2OTMtYjUzYmMwMDktMTkxMC00ZTU4LWE5N2ItZDQ2NGM0NzYxNjZmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDA4NDYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlZmNlZGUwZDk2NzliOWI0YjE2ODU1NzQ0MzBlODc2MzU3ZGQ0NjEwNWIxYTdmOTA2MDM5OTYxNTJhZWZlNzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JW7G3HIAww4w68uEYQmfUf5sQ7r8EiBxabeb65DVoNc)
The static file URLs are accessible. For example, another module in the demo,
button
, loads normally, whilelayout
is wrapped byBridge
and encounters an issue.Demo below:
demo.zip
The provider is deployed on the network, and the consumer is running locally.
The text was updated successfully, but these errors were encountered: