Getting an error when trying to develop custom components. The first session when I first cloned the repository and logged in the first time worked fine. But since coming back the next day both npx retool-ccl login
and npx retool-ccl dev
fail with the below error. Seems to be an unhandled error in how the keyring is being used.
$ npx retool-ccl login
Unhandled error: {
err: Error: INSTANCE: default > Error thrown while trying to load previously used settings. @tryretool/custom-component-support uses the @napi-rs/keyring library to store and load credentials and other settings, which uses a different underlying utility depending on your OS. See https://github.com/hwchen/keyring-rs?tab=readme-ov-file#platform-specific-issues for help with debugging issues.
at getTargetUrlAndAccessToken (/home/connor/git/retool-components/node_modules/@tryretool/custom-component-support/commands/login/accessTokens.js:44:15)
at shouldLogin (/home/connor/git/retool-components/node_modules/@tryretool/custom-component-support/commands/login/prompts.js:107:82)
at Object.loginCommand [as handler] (/home/connor/git/retool-components/node_modules/@tryretool/custom-component-support/commands/login/login.js:78:45)
at /home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:8993
at j (/home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:4956)
at _.handleValidationAndGetResult (/home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:8962)
at _.applyMiddlewareAndGetResult (/home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:9604)
at _.runCommand (/home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:7231)
at [runYargsParserAndExecuteCommands] (/home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:58539)
at te.parse (/home/connor/git/retool-components/node_modules/yargs/build/index.cjs:1:40478),
msg: null
}