I'm currently experiencing an issue where my custom components are no longer displaying in the Retool UI component selector. These components were working as expected previously, and I haven’t made any significant changes that would justify this behavior. I’ve gone through several troubleshooting steps but haven’t been able to resolve the issue. Your assistance would be greatly appreciated.
Build succeeded 🔨
Sending updated code to Retool 📨...
Updated code received by Retool ✅
Successfully created a new version (dev) of the library.
Cleaned Up Manifest Configuration
Renamed componentManifest.json to componentManifest.json.bak
Confirmed manifestPath is set correctly in package.json
Redeployed the Components
npm run deploy completed with:
Build succeeded 🔨
Sending updated code to Retool 📨...
Updated code received by Retool ✅
Successfully created a new version (5) of the library.
Generating & updating manifest...
dist\components.js 43.3kb
dist\retool-custom-component-manifest.json.js 70b
dist\retool-custom-component-manifest.json 62b
Simplified index.tsx Exports
Verified proper and minimal exports of components.
Restarted All Servers
Killed node processes and started dev server cleanly.
Browser Troubleshooting
Performed hard refresh (Ctrl+Shift+R) and inspected console logs.
Package Version Fix
Ensured @tryretool/custom-component-support is pinned to ^1.7.0 (not latest) (Tried a bunch of versions, same result)
Are there known issues with custom components disappearing suddenly?
Could there be a caching issue on the Retool side?
Is there a way to verify if my components are actually being received by Retool?
Are there any specific permissions or settings I need to check?
What logging or debugging steps would you recommend to isolate this issue?
@M_Mulder is this a library you created for an organization? I once had a similar roadblock -- and found out it was due to permission changes happening in the organization and my permissions were unintentionally and incorrectly set for custom components. Are you sure your user account has the proper permissions to view or add custom components?
Issue Solved:
The root cause was using import statements in the src/index.tsx file to include React components. For some reason, Retool no longer properly recognized these imports. After manually moving all component definitions directly into the index.tsx, the components started displaying again in the Retool UI component selector.
Thanks for sharing an update, @M_Mulder! I'm glad to hear you got it working.
For future reference, you should be able to break those components out into their own files and use a named import, instead. Shout-out to @Mark_Slade for surfacing this!