"We're unable to display your source code"
I keep getting this message when accessing my functions/queries/mutations in the dashboard. Source code is shown for 2 rather simple functions, so it seems to work sometimes... Do I need to take care of special formatting or similar in my convex files so they can be shown correctly?
5 Replies
It's ok to ignore this notice, everything besides showing the code in the dashboard will work. There are guidelines you could follow to make this work (primarily "only export mutations/queries/actions from the file where they are defined") but these will change as we improve the source mapping code.
Sounds good, thanks!
Running into this as well, not really sure where I'm going wrong..
@David Alonso is this new for you? Any changes you've made that started it?
This was onced caused by importing a function from one file and exporting it from another, not sure if that's still an issue.
Yeah it’s recent, will have to check what has changed