new-custom-component> npx retool-ccl login
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/retool-ccl - Not found
npm error 404
npm error 404 'retool-ccl@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
Is there an updated command to login or do I need to do something else?
I did a quick search at npmjs.com and couldn't find retool-ccl.
Yes, I ran npm install before. I tried it again just to make sure and npm is there. See the image below.
Setting this up now because I still haven't found a solution to my custom component to display a Google Map. Would love to get that going if you have a minute over here.
Correct, this is a workaround. As custom components is deprecated, I'll be need to go down this path regardless. The other topic is definitely the priority. Thanks!
Note the number of packages, in particular. This is going to sound silly, but can you double check that you're running the command in the correct directory? You might also want to check the npm version - I'm on 10.8.2, for context.
Im still running into this issue when trying to make my own custom components. Im on the latest version of npm and node. Still getting the exact same error.
To start, you don't need to worry about any deprecation messages that you see after running npm install. Running npm audit fix can actually break the package's dependencies.
I'm pretty sure the original error that you're seeing is the result of passing extraneous arguments via the npx retool-ccl init command.
Straight to the point, I love it! You are right. Somehow the first time I ran npx retool-ccl init i got the /? result, a list of arguments and how to use them, and i defined the arguments for a command line.
Today, i tried again the init without the arguments and i got asked about the name of the project and the description. And after completing those steps it seems to be working. At least those errors are gone. Thanks!
Hi sorry for the late reply. One of the things that helped was git cloning the template repository and seemed to work fine afterwards.
I do have another question. After I make my changes and deploy my new component, it should reflect immediately right? I'm having instances where the development environment looks different from prod release.
Yes, you should typically see the changes reflected in the Retool UI almost immediately. In order for your dev version to update, though, you need to be running npx retool-ccl dev via your local dev environment.