This file needs to show the one you upload, it might be getting cached by nginx and nodebb, so try restarting both.
yes, nginx restart solved the issue. Thanks 👍
It was working fine earlier. I just used the command ./nodebb upgrade and now the 'widgets' link shows this:
Oops! Looks like something went wrong!
Update: It was the custom wigets plugin causing the error.