Rive extension keeps crashing anytime I try to build the project

I came across the same problem and reported it in this thread:

As I mentioned, you can try Rive within Defold by using older versions of Defold and the Rive extension.
However, although these older versions successfully ran my game from the editor, exporting to desktop and Web both failed.