#"We're unable to display your source code"

5 messages · Page 1 of 1 (latest)

wintry laurel
#

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?

sudden basin
#

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.

wintry laurel
#

Sounds good, thanks!

magic dove
#

Running into this as well, not really sure where I'm going wrong..

sudden basin
#

@magic dove 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.