I am facing this bug where appsmith says "There was an unexpected error" when I click create a new JS object.
The version of appsmith I am using is self-hosted v1.9.39
If I try to copy an existing JS Object to another page, I get the same error.
However, I can create a new app and create a JS Object.
Attached is the console error message.