I am trying to debug why my chart component has a red border, and the view from the linter shows many errrors. What is odd, is that they are all about "builtin" things that Retool provides.
Another instance of a builtin showing a lint error even though the code works.
Defeated with a comment, but why is it a lint issue?
Hi @khill-fbmc, thanks for flagging this. Remind me, are we con Cloud?
Yes. According to my browser console, I am on:
Retool version 3.89.0-4f5112e (Build 196196))
I'm not able to reproduce these linting issues on Cloud, but I'll keep trying as one of the problems with these issues is that they don't happen all the time:
On the other hand, I think Buffer is a Node library, I'm not sure if it'll run client side. Is line 3 running without issues?
How strange!
So Buffer
is part of the node standard library. I would guess, that since you run them server-side, I am getting lucky that it does exist
To confirm this, it does not work in Apps:
Oh! I didn't realize you were using it on Workflows. I tested it on an App and it didn't work but I'm happy to hear it does in WFs.