TripleSpeeder
TripleSpeeder14mo ago

"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
ballingt
ballingt13mo ago
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.
TripleSpeeder
TripleSpeederOP13mo ago
Sounds good, thanks!
David Alonso
David Alonso3mo ago
Running into this as well, not really sure where I'm going wrong..
ballingt
ballingt3mo ago
@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.
David Alonso
David Alonso3mo ago
Yeah it’s recent, will have to check what has changed