Error with diagram preview in VS Code

I’m using the dbdiagram extension in VS Code, and in the last couple of days I’ve been getting an error when trying to open the diagram preview.

“The editor could not be opened due to an unexpected error. Please consult the log for more details.”

Opening the log shows this error:

“[error] [Window] Error: Assertion Failed: Argument is undefined or null.”

Any ideas how I fix this?

Duncan

Hi @Duncan, it seems our latest release has some problems running on windows. Can you try to downgrade the vscode extension in the meantime while we’re resolving the issues? Thank you!

Yes, same issue I am facing. For now, I switched to version 4.0

1 Like

@huydna , please update once the issue is resolved. I am not sure what is new in version 5; however, if you look at the image of the web page, the import files feature isn’t working there either.

Hi @Ashish_Bajpai, multifile support was only released on vscode (which currently has a bug). It hasn’t been released to dbdiagram yet, so currently it wouldn’t work. Hope that answers your question!

Thank you! I downgraded to version 0.4.0 and it’s working again.

1 Like

Oh, I thought first you guys would implement it on the web and later on VS Code.

1 Like