Hi, Daniel, and welcome to chatbots.org.
I took the liberty of creating a new thread for you, both because your problem is not related to the thread you posted in, and also because that thread was a bit old, and you may not have gotten a reply there if it stayed. It’s always a good idea to create a new thread whenever you have a question to ask, unless it’s about a similar problem that is being currently discussed.
I know very little about RiveScript, as I’m a developer for a different chatbot engine, but I’m familiar with JavaScript and CORS (Cross-Origin Resource Sharing), which is what your issue seems to be running afoul of. Modern web browsers are VERY security conscious these days, and scripts that try to access different resources from different locations have very strict rules that they have to follow. For example, JavaScript that runs in a non-secure web environment (e.g. HTTP://) can’t gain access to other scripts within a secure (e.g. HTTPS://) one, and one that runs from a “local” environment (e.g. FILE:///) generally can’t access web-based resources (e.g. HTTP:// or HTTPS://). Going only from the error message you’ve posted (since there’s not really any other information given), I’d have to guess that your RiveScript file (file:///C:/xxxxxx/NewProject/Other app1/brain.rive) is trying to access information or data from a source OTHER than the file system. If this is the case, you’re going to need to put all of your resources into the same “origin” (either HTTP, HTTPS or FILE) in order for everything to play well together. Otherwise you’re going to continue to have the same problem.
Of course if this is NOT the case, you’ll need to provide more information than you’ve given us so that we can assist you better.