I'm a retool noob. We've begun to see this is some workflows that previously worked fine. lodash is listed in the libraries for the workflow. I have no idea what the issue is.
I don't really know how/where to dig further to where this is happening. What we've been doing is deleting all those libraries and our workflows stop erroring.
Thanks for reaching out. Are you on-prem (if so, what version are you on?) or on cloud?
Can you check on the sidebar if you have a cog named "Settings"? If so, can you click "JavaScript Configuration" and see if there is a require statement for lodash there and try removing it?
If you don't see the Cog or "JavaScript configuration", can you click on the lodash library in the libraries tab (the same tab as in your screenshot) and check if there is a require statement there for lodash and try removing it?
If I comment out that const _ = require('lodash') line, I stop getting the lodash error. But I just get the same error on the next library in the list.
Is removing the "require" line any different than just deleting the library from the workflow altogether? That's what we've been doing.
Yes, this issue occurs on newly created workflows. They are created with all those libraries in place.
Cloud hosted.
It was an intermittent error. It's gone now (but the logs remain, which is why I can show you).
Just seems that's a big underlying problem that affected all my workflows for a period of time. There'd be nothing I can do about it is, is the concerning part.