Issues with Deploy
Hi,
I'm having issues deploying my application using Zephyr Cloud.
Here’s the context:
I created two repositories using create-mf-app with the following setup:
Framework: React
React version: 19
Styling: Tailwind CSS
Deployment: Zephyr
Everything was working fine until version 181 — I was able to build and deploy both apps without any issues.
Now, although I can still build the apps successfully and run them locally without problems, I'm no longer able to deploy them to Zephyr. The automatic deploy simply doesn't happen — and I don’t see any build errors to help debug this. I also tried deploying using GitHub Actions, but nothing happens either.
Here are my applications on Zephyr:
🔗 https://app.zephyr-cloud.io/org/dadarkp3
Here are the repositories:
📦 Host repo: https://github.com/Dadarkp3/weather-app-host
📦 Remote repo: https://github.com/Dadarkp3/shared-ui-remote
Any help or guidance would be appreciated!
GitHub
GitHub - Dadarkp3/weather-app-host
Contribute to Dadarkp3/weather-app-host development by creating an account on GitHub.
GitHub
GitHub - Dadarkp3/shared-ui-remote
Contribute to Dadarkp3/shared-ui-remote development by creating an account on GitHub.
26 Replies
Hey Hey
Lemme have a look
Hey @Dadarkp3 you're using an older version of our plugin. Upgrade it to use version
0.0.47
and it should work no problem 😄marker 0.0.50 marked as latest
@Dadarkp3 I have checked. with latest version remote and host deployed to zephyr.
https://oleksandr-pavlovskyi-26-shared-ui-remote-shared-u-156f27b03-ze.zephyrcloud.app - host
https://oleksandr-pavlovskyi-26-shared-ui-remote-shared-u-156f27b03-ze.zephyrcloud.app - remote
hey @Dadarkp3 let me know when you see these
we have a few more steps we can try
Hello team sorry for the late update. I will update the project and validate, but, locally it’s working as it should, but if this fix I will try and open a PR to update the zephyr plugin on the create-mf-app.
Thanks for all the help!! 😆
Thanks team, is working! Going to reporte the issue and see if I can open the PR for the project!
Hey team, quick question.
Do I need to have a pay subscription to push this in production?
Or am I missing a configuration? I can only see my project If I run it locally, I build, I see that we have the production environment correct, I have the dist folder that we build.
My public path outside of development is to auto. 🤔
you don't need subscription to deploy
could you share the deployed URL? maybe we can help you there
For my remote
For my host
oh, I see, so you're trying to deploy across repositories
that might come into an issue here
add the following property on your
package.json
for the host:
this is about to be documented on our docs website thoughDid this, but the issue still remains.
https://daiane-silva-354-weather-app-host-weather-app-hos-d9ab79d41-ze.zephyrcloud.app
I think its because of this on my host, should add a validation to see if we are in production to use the correct path? I just don't know the correct path in the case of the latest version of my shared-ui.remote repo:
oh, replace with underscores on the left-hand side then
sorry, I missed that
Should I replace with underscores on the left-hand side where?
"zephyr:dependencies": {
"shared_ui_remote": "zephyr:shared-ui-remote.shared-ui-remote.dadarkp3@latest"
}
it looks like its working!
Quick question, how does this work? 🤔
under the hood Zephyr just replaces my url inside the mfConfig remotes?
Because thats amazing!
the remotes is the only part we're replacing so yeah
this way you can resolve to zephyr deployed remotes
Nice, thanks for the explanation, going to take a look with monorepo and Nx now.
that's great to hear!
monorepo and Nx, as long as you are deploying under the same repository/project, you don't need the package.json specification
Just a quick update, the PR updating the plugin inside create-mf-app was merged.
GG @Dadarkp3, you just advanced to level 2!
heey!
which one do you mean?
can you remind us please?
Oh yeah. Me and anyone that were using the template from create-mf-app to generate microfrontends with module federation, were having issues deploying with Zephyr because the template was generating repos with old versions of zephyr plugin.
To fix that, so people stop coming here with the same issue everyday, i opened an Issue to the repo, create a PR with the fix.
It was merged yesterday so I think this will mitigate the future problems popping up here about this
ohhh I do remember it how!
thank you so much for your help!
we appreciate it a lot!
No problem!
I'm currently in the process of updating our own examples as well so they will be clean, fresh and working soon
Thanks!! I’m messing around with Vite now and zephyr let me know and I can give the feedback on following the doc about it!
anything you need on that end just let us know
we did introduce support for MF on Vite quite recently so if anything pops up, don't hesitate to reach out here
Ohhh ok, will follow set by set and see if I can make it work only following the doc and any problems I will add in a new thread