Additional detail: when the request times out this is the error:
Error creating new version of custom component library:
Error happened while building: Build failed with 1 error:
/Users/****/Desktop/retool/node_modules/@tryretool/custom-component-support/apiError.js:46:19: ERROR: [plugin: zip-and-send] Error
Goal: want to update existing custom component in app
Steps: 1. have an existing custom component, 2. upgrade the @tryretool/custom-component-support npm package to latest 1.1.0 version, 3. run npx retool-ccl dev in bash, 4. after long waiting [ERROR] Error [plugin zip-and-send] /node_modules/@tryretool/custom-component-support/apiError.js:45:19:
45 │ return new ApiError(Failed to connect to the url. The error was: ${JSON.stringify(e, null, 2)}.);
Details:
Screenshots: /Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/apiError.js:45:19:
45 │ return new ApiError(Failed to connect to the url. The error was: ${JSON.stringify(e, null, 2)}.);
╵ ^
at handleApiError (/Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/apiError.js:45:20)
at CustomComponentLibraryWrappedClient.request (/Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/customComponentLibraryWrappedClient.js:47:56)
at async CustomComponentLibraryWrappedClient.customComponentLibrariesLibraryIdRevisionsPostRaw (/Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/retool_client/apis/CustomComponentLibraryApi.js:216:26)
at async CustomComponentLibraryWrappedClient.customComponentLibrariesLibraryIdRevisionsPost (/Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/retool_client/apis/CustomComponentLibraryApi.js:229:26)
at async /Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/build_components.js:223:40
at async /Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:1495:27
This error came from the "onEnd" callback registered here:
at setup (/Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/build_components.js:218:19)
at handlePlugins (/Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:1293:21)
at buildOrContextImpl (/Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:979:5)
at Object.buildOrContext (/Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:787:5)
at /Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:2197:68
at new Promise ()
at Object.context (/Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:2197:27)
at Object.context (/Users/gabor.soos/workspace/retool-custom-component/node_modules/esbuild/lib/main.js:2037:58)
at buildAndDeployDevContiniously (/Users/gabor.soos/workspace/retool-custom-component/node_modules/@tryretool/custom-component-support/build_components.js:337:48)
I am having the same issue after upgrading @tryretool/custom-component-support package to latest this morning, it was working fine but it does not sync anymore.
We're having the same issue after updating the @tryretool/custom-component-support to v 1.1.0 . The operation is stuck on Sending updated code to Retool ... Downgrading the tool doesn't help, since previous version is rejected by ReTool service
Same issue here. Custom Component upload worked on Sept 30.
As of Oct 1, using the same API key, I can no longer upload custom components. the CLI tool hangs on "Sending updated code to Retool"