app.zip (6.8 MB)
I’m trying to build an app in freshsales using react.
For the UI I’m trying to use Antd
Running locally it renders the app normally, but I can’t pack the app.
When I call fdk pack, after a while it just returns with no error.
The logs from .logs does not shown anything as well.
I was able to identify so far that commenting some components like Modal and Layout makes the pack works.
So, I would like to know, is there some limitation about libs we can use?
Is there some way to identify what’s causing the issue when it happens?
I took your app and digged deeper into what module could be causing this packing issue. I suspect there’s bundle generated by react is throwing about 2000+ warnings (which fdk should not) causing validation module within fdk to behave differently. I will report this to engineering team.
But I’ve found myself able to pack the app successfully by skipping the validation temporarily using following command
fdk run --skip-validation lint
I see you are working with Freshsales and App renders on full page placeholder which can only be testing by uploading it as custom app. Hoping this could temporarily help you continue your app development meanwhile.
Our engineering team has successfully identified the cause of the issue and fixed it on Jun 12, 2022. Thank you for reporting this, @samuelpares . Your report has helped us become aware and apply the fix.